Home
last modified time | relevance | path

Searched refs:_BE_env (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/bios_emulator/
Dbesys.c88 if (addr >= 0xC0000 && addr <= _BE_env.biosmem_limit) { in BE_memaddr()
89 return (u8*)(_BE_env.biosmem_base + addr - 0xC0000); in BE_memaddr()
90 } else if (addr > _BE_env.biosmem_limit && addr < 0xD0000) { in BE_memaddr()
95 return (u8*)(_BE_env.busmem_base + addr - 0xA0000); in BE_memaddr()
102 return (u8 *)_BE_env.busmem_base + addr - 0xA0000; in BE_memaddr()
140 if (_BE_env.emulateVGA && addr >= 0xA0000 && addr <= 0xBFFFF) in BE_rdb()
161 if (_BE_env.emulateVGA && addr >= 0xA0000 && addr <= 0xBFFFF) in BE_rdw()
183 if (_BE_env.emulateVGA && addr >= 0xA0000 && addr <= 0xBFFFF) in BE_rdl()
203 if (!(_BE_env.emulateVGA && addr >= 0xA0000 && addr <= 0xBFFFF)) { in BE_wrb()
219 if (!(_BE_env.emulateVGA && addr >= 0xA0000 && addr <= 0xBFFFF)) { in BE_wrw()
[all …]
Dbios.c153 pciSlot = ((int)_BE_env.vgaInfo.bus << 8) |
154 ((int)_BE_env.vgaInfo.device << 3) | (int)_BE_env.vgaInfo.function;
157 if (!_BE_env.vgaInfo.pciInfo)
160 pciSlot = (u16) (_BE_env.vgaInfo.pciInfo->slot.i >> 8);
173 if (M.x86.R_DX == _BE_env.vgaInfo.VendorID &&
174 M.x86.R_CX == _BE_env.vgaInfo.DeviceID && M.x86.R_SI == 0) {
176 if (M.x86.R_DX == _BE_env.vgaInfo.pciInfo->VendorID &&
177 M.x86.R_CX == _BE_env.vgaInfo.pciInfo->DeviceID &&
189 dm_pci_read_config8(_BE_env.vgaInfo.pcidev, PCI_CLASS_PROG,
191 dm_pci_read_config8(_BE_env.vgaInfo.pcidev, PCI_CLASS_DEVICE,
[all …]
Dbiosemu.c52 BE_sysEnv _BE_env = {{0}}; variable
104 _BE_env.emulateVGA = 0; in BE_init()
105 _BE_env.busmem_base = (unsigned long)malloc(128 * 1024); in BE_init()
106 if ((void *)_BE_env.busmem_base == NULL){ in BE_init()
132 _BE_env.vgaInfo.function = info->function; in BE_setVGA()
133 _BE_env.vgaInfo.device = info->device; in BE_setVGA()
134 _BE_env.vgaInfo.bus = info->bus; in BE_setVGA()
135 _BE_env.vgaInfo.pcidev = info->pcidev; in BE_setVGA()
137 _BE_env.vgaInfo.pciInfo = info->pciInfo; in BE_setVGA()
139 _BE_env.vgaInfo.BIOSImage = info->BIOSImage; in BE_setVGA()
[all …]
/external/u-boot/drivers/bios_emulator/include/
Dbiosemu.h321 extern BE_sysEnv _BE_env;