Macroify serial and PCI constants
This commit is contained in:
parent
edf717f5cb
commit
d0c7485824
2 changed files with 20 additions and 20 deletions
|
@ -19,11 +19,11 @@
|
|||
#ifndef GRUB_MACHINE_SERIAL_HEADER
|
||||
#define GRUB_MACHINE_SERIAL_HEADER 1
|
||||
|
||||
#define GRUB_MACHINE_SERIAL_PORT 0xbff003f8
|
||||
|
||||
#ifndef ASM_FILE
|
||||
#define GRUB_MACHINE_SERIAL_PORTS { 0xbff003f8 }
|
||||
#define GRUB_MACHINE_SERIAL_PORTS { GRUB_MACHINE_SERIAL_PORT }
|
||||
#else
|
||||
#define GRUB_MACHINE_SERIAL_PORT_HI 0xbff0
|
||||
#define GRUB_MACHINE_SERIAL_PORT_LO 0x03f8
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue