kopenbsd serial support
This commit is contained in:
parent
5b512173a3
commit
b5b6745c87
2 changed files with 58 additions and 0 deletions
|
@ -61,6 +61,7 @@
|
|||
#define OPENBSD_BOOTARG_END -1
|
||||
|
||||
#define OPENBSD_BOOTARG_MMAP 0
|
||||
#define OPENBSD_BOOTARG_CONSOLE 5
|
||||
|
||||
struct grub_openbsd_bootargs
|
||||
{
|
||||
|
@ -69,4 +70,13 @@ struct grub_openbsd_bootargs
|
|||
grub_uint32_t ba_next;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct grub_openbsd_bootarg_console
|
||||
{
|
||||
grub_uint32_t device;
|
||||
grub_uint32_t speed;
|
||||
};
|
||||
|
||||
#define GRUB_OPENBSD_COM_MAJOR 8
|
||||
#define GRUB_OPENBSD_VGA_MAJOR 12
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue