search for: rsvd_pos

Displaying 2 results from an estimated 2 matches for "rsvd_pos".

2007 Aug 09
0
[PATCH] linux/x86: retrieve VESA capabilities in dom0
...screen_info.lfb_width = info->u.vesa_lfb.width; screen_info.lfb_height = info->u.vesa_lfb.height; @@ -318,6 +332,14 @@ void dom0_init_screen_info(const struct screen_info.blue_pos = info->u.vesa_lfb.blue_pos; screen_info.rsvd_size = info->u.vesa_lfb.rsvd_size; screen_info.rsvd_pos = info->u.vesa_lfb.rsvd_pos; + if (size >= offsetof(struct dom0_vga_console_info, + u.vesa_lfb.capabilities) + + sizeof(info->u.vesa_lfb.capabilities)) + screen_info.capabilities = info->u.vesa_lfb.capabilities; + if (size >= offsetof(struct dom...
2006 Dec 01
0
[PATCH 3/10] Add support for netfront/netback acceleration drivers
...s of 64kB). */ + uint32_t lfb_base; + uint32_t lfb_size; + /* RGB mask offsets and sizes, as defined by VBE 1.2+ */ + uint8_t red_pos, red_size; + uint8_t green_pos, green_size; + uint8_t blue_pos, blue_size; + uint8_t rsvd_pos, rsvd_size; + } vesa_lfb; + } u; +} dom0_vga_console_info_t; + +typedef uint8_t xen_domain_handle_t[16]; + +/* Turn a plain number into a C unsigned long constant. */ +#define __mk_unsigned_long(x) x ## UL +#define mk_unsigned_long(x) __mk_unsigned_long(x) + +DEFINE_XEN_GUEST_HANDLE(uint8...