netbsd framebuffer support
This commit is contained in:
parent
9766dafa74
commit
53fbae94a6
2 changed files with 116 additions and 1 deletions
|
@ -212,6 +212,7 @@ struct grub_netbsd_bootinfo
|
|||
#define NETBSD_BTINFO_CONSOLE 6
|
||||
#define NETBSD_BTINFO_SYMTAB 8
|
||||
#define NETBSD_BTINFO_MEMMAP 9
|
||||
#define NETBSD_BTINFO_FRAMEBUF 12
|
||||
|
||||
struct grub_netbsd_btinfo_common
|
||||
{
|
||||
|
@ -248,6 +249,27 @@ struct grub_netbsd_btinfo_serial
|
|||
grub_uint32_t speed;
|
||||
};
|
||||
|
||||
struct grub_netbsd_btinfo_framebuf
|
||||
{
|
||||
grub_uint64_t fbaddr;
|
||||
grub_uint32_t flags;
|
||||
grub_uint32_t width;
|
||||
grub_uint32_t height;
|
||||
grub_uint16_t pitch;
|
||||
grub_uint8_t bpp;
|
||||
|
||||
grub_uint8_t red_mask_size;
|
||||
grub_uint8_t green_mask_size;
|
||||
grub_uint8_t blue_mask_size;
|
||||
|
||||
grub_uint8_t red_field_pos;
|
||||
grub_uint8_t green_field_pos;
|
||||
grub_uint8_t blue_field_pos;
|
||||
|
||||
grub_uint8_t reserved[16];
|
||||
};
|
||||
|
||||
|
||||
#define GRUB_NETBSD_MAX_ROOTDEVICE_LEN 16
|
||||
|
||||
grub_err_t grub_freebsd_load_elfmodule32 (struct grub_relocator *relocator,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue