Skip to content

Commit

Permalink
Move serial port settings to config.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Alson van der Meulen committed May 27, 2009
1 parent 17bd2b2 commit 8282909
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions config.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@
* f000:f065).
*/
#undef FORCE_VBIOS_PRESENT

/* serial costants that may require modification */
#define COM_BASE_ADDR 0x3f8
#define PORT_SPEED 115200
#define LCR_VALUE 0x13 /* 8n1 */
5 changes: 0 additions & 5 deletions sgabios.S
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@
#define SGABIOS_EBDA_POS_START (SGABIOS_EBDA_LOG_START+SGABIOS_EBDA_LOG_SIZE)
#define SGABIOS_EBDA_POS_LAST (SGABIOS_EBDA_POS_START+(SGABIOS_EBDA_LOG_SIZE*2)-2)

/* serial costants that may require modification */
#define COM_BASE_ADDR 0x3f8
#define PORT_SPEED 115200
#define LCR_VALUE 0x13 /* 8n1 */

/* serial constants below shouldn't require modification */
#define IER_OFFSET 0x01
#define FCR_OFFSET 0x02
Expand Down

0 comments on commit 8282909

Please sign in to comment.