Home
last modified time | relevance | path

Searched refs:BIOS_PADDRTOVADDR (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/dev/fb/
H A Dvgareg.h35 #define MDA_BUF BIOS_PADDRTOVADDR(MDA_BUF_BASE)
38 #define CGA_BUF BIOS_PADDRTOVADDR(CGA_BUF_BASE)
41 #define EGA_BUF BIOS_PADDRTOVADDR(EGA_BUF_BASE)
44 #define GRAPHICS_BUF BIOS_PADDRTOVADDR(GRAPHICS_BUF_BASE)
45 #define FONT_BUF BIOS_PADDRTOVADDR(GRAPHICS_BUF_BASE)
H A Dvga.c69 #ifndef BIOS_PADDRTOVADDR
70 #define BIOS_PADDRTOVADDR(x) (x) macro
745 buf = BIOS_PADDRTOVADDR(adp->va_window); in verify_adapter()
766 p = *(u_int32_t *)BIOS_PADDRTOVADDR(0x4a8); in verify_adapter()
769 p = *(u_int32_t *)BIOS_PADDRTOVADDR(p); in verify_adapter()
772 video_mode_ptr = (u_char *)BIOS_PADDRTOVADDR(p); in verify_adapter()
782 p = *(u_int32_t *)BIOS_PADDRTOVADDR(0x1d*4); in verify_adapter()
784 video_mode_ptr2 = (u_char *)BIOS_PADDRTOVADDR(p); in verify_adapter()
791 p = *(u_int32_t *)BIOS_PADDRTOVADDR(0x1d*4); in verify_adapter()
793 video_mode_ptr2 = (u_char *)BIOS_PADDRTOVADDR(p); in verify_adapter()
[all …]
/freebsd/sys/amd64/amd64/
H A Dbios.c74 sp = (char *)BIOS_PADDRTOVADDR(start); in bios_sigsearch()
76 sp = (char *)BIOS_PADDRTOVADDR(BIOS_START); in bios_sigsearch()
82 end = (u_char *)BIOS_PADDRTOVADDR(BIOS_START + BIOS_SIZE); in bios_sigsearch()
/freebsd/sys/i386/i386/
H A Dbios.c93 sdh = (struct bios32_SDheader *)(uintptr_t)BIOS_PADDRTOVADDR(sigaddr); in bios32_init()
100 bios32_SDCI = BIOS_PADDRTOVADDR(sdh->entry); in bios32_init()
129 pt = (struct PnPBIOS_table *)(uintptr_t)BIOS_PADDRTOVADDR(sigaddr); in bios32_init()
180 ent->ventry = BIOS_PADDRTOVADDR(ent->base + ent->entry); in bios32_SDlookup()
212 sp = (char *)BIOS_PADDRTOVADDR(start); in bios_sigsearch()
214 sp = (char *)BIOS_PADDRTOVADDR(BIOS_START); in bios_sigsearch()
220 end = (u_char *)BIOS_PADDRTOVADDR(BIOS_START + BIOS_SIZE); in bios_sigsearch()
485 s = (u_char *)BIOS_PADDRTOVADDR(from); in bios_oem_strings()
486 se = (u_char *)BIOS_PADDRTOVADDR(to-len); in bios_oem_strings()
591 args.seg.code16.base = BIOS_PADDRTOVADDR(p in pnpbios_identify()
[all...]
/freebsd/sys/i386/bios/
H A Dsmapi.c42 /* And all this for BIOS_PADDRTOVADDR() */
58 #define ADDR2HDR(addr) ((struct smapi_bios_header *)BIOS_PADDRTOVADDR(addr))
211 sc->smapi32_entry = (u_int32_t)BIOS_PADDRTOVADDR( in smapi_attach()
/freebsd/sys/amd64/include/pc/
H A Dbios.h66 #define BIOS_PADDRTOVADDR(x) ((x) + KERNBASE) macro
/freebsd/sys/x86/x86/
H A Dmptable.c219 addr = (u_int32_t *)BIOS_PADDRTOVADDR(target); in search_for_sig()
278 if ((segment = *(u_short *)BIOS_PADDRTOVADDR(0x40e)) != 0) { in mptable_probe()
310 mpfps = (mpfps_t)BIOS_PADDRTOVADDR(x); in mptable_probe()
331 mpct = (mpcth_t)BIOS_PADDRTOVADDR((uintptr_t)mpfps->pap); in mptable_probe()
/freebsd/sys/dev/isci/
H A Disci_oem_parameters.c94 (uint8_t *)BIOS_PADDRTOVADDR(OROM_PHYSICAL_ADDRESS_START); in isci_get_oem_parameters()
/freebsd/sys/isa/
H A Dsyscons_isa.c191 shift = *(uint8_t *)BIOS_PADDRTOVADDR(0x417); in sc_get_bios_values()
/freebsd/sys/compat/x86bios/
H A Dx86bios.c200 return (readl(BIOS_PADDRTOVADDR(intno * 4))); in x86bios_get_intr()
207 writel(BIOS_PADDRTOVADDR(intno * 4), saddr); in x86bios_set_intr()
237 addr = BIOS_PADDRTOVADDR(offset); in x86bios_offset()
/freebsd/sys/i386/include/pc/
H A Dbios.h236 #define BIOS_PADDRTOVADDR(x) ((x) + PMAP_MAP_LOW) macro
/freebsd/sys/x86/bios/
H A Dvpd.c94 #define ADDR2VPD(addr) ((struct vpd *)BIOS_PADDRTOVADDR(addr))
/freebsd/sys/i386/pci/
H A Dpci_pir.c147 pt = (struct PIR_table *)(uintptr_t)BIOS_PADDRTOVADDR(sigaddr); in pci_pir_open()
/freebsd/sys/x86/cpufreq/
H A Dpowernow.c683 psb = (struct psb_header*)(uintptr_t)BIOS_PADDRTOVADDR(sig); in pn_decode_pst()
/freebsd/sys/dev/ppc/
H A Dppc.c122 #define BIOS_PORTS ((short *)BIOS_PADDRTOVADDR(BIOS_PPC_PORTS))