kopenbsd serial support

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-01-19 14:29:02 +01:00
parent 5b512173a3
commit b5b6745c87
2 changed files with 58 additions and 0 deletions

View file

@ -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