Lines Matching refs:_BE_env
52 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()
141 _BE_env.biosmem_base = (ulong) info->BIOSImage; in BE_setVGA()
142 _BE_env.biosmem_limit = 0xC0000 + info->BIOSImageLen - 1; in BE_setVGA()
144 _BE_env.biosmem_base = _BE_env.busmem_base + 0x20000; in BE_setVGA()
145 _BE_env.biosmem_limit = 0xC7FFF; in BE_setVGA()
164 info->function = _BE_env.vgaInfo.function; in BE_getVGA()
165 info->device = _BE_env.vgaInfo.device; in BE_getVGA()
166 info->bus = _BE_env.vgaInfo.bus; in BE_getVGA()
167 info->pcidev = _BE_env.vgaInfo.pcidev; in BE_getVGA()
169 info->pciInfo = _BE_env.vgaInfo.pciInfo; in BE_getVGA()
171 info->BIOSImage = _BE_env.vgaInfo.BIOSImage; in BE_getVGA()
192 if (addr >= 0xC0000 && addr <= _BE_env.biosmem_limit) { in BE_mapRealPointer()
193 return (void *)(_BE_env.biosmem_base + addr - 0xC0000); in BE_mapRealPointer()
195 return (void *)(_BE_env.busmem_base + addr - 0xA0000); in BE_mapRealPointer()
231 free((void *)_BE_env.busmem_base); in BE_exit()