Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/pci/pcivar.h
Context not available. | |||||
* Check if the address range falls within the VGA defined address range(s) | * Check if the address range falls within the VGA defined address range(s) | ||||
*/ | */ | ||||
static __inline int | static __inline int | ||||
pci_is_vga_ioport_range(u_long start, u_long end) | pci_is_vga_ioport_range(__rman_res_t start, __rman_res_t end) | ||||
{ | { | ||||
return (((start >= 0x3b0 && end <= 0x3bb) || | return (((start >= 0x3b0 && end <= 0x3bb) || | ||||
Context not available. | |||||
} | } | ||||
static __inline int | static __inline int | ||||
pci_is_vga_memory_range(u_long start, u_long end) | pci_is_vga_memory_range(__rman_res_t start, __rman_res_t end) | ||||
{ | { | ||||
return ((start >= 0xa0000 && end <= 0xbffff) ? 1 : 0); | return ((start >= 0xa0000 && end <= 0xbffff) ? 1 : 0); | ||||
Context not available. |