kopenbsd serial support

This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2010-01-19 14:29:02 +01:00
1 parent 5b512173a3
commit b5b6745c87
2 files changed
+58

No files matched your search

+10
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