Lines Matching refs:gSystem
64 IOMapper * IOMapper::gSystem = (IOMapper *) IOMapper::kUnknown; member in IOMapper
120 IOMapper::gSystem = this; in start()
121 sMapperLock.wakeup(&IOMapper::gSystem); in start()
147 IOMapper::gSystem = (IOMapper *) kHasMapper; in setMapperRequired()
150 IOMapper::gSystem = (IOMapper *) kNoMapper; in setMapperRequired()
152 sMapperLock.wakeup(&IOMapper::gSystem); in setMapperRequired()
160 while ((uintptr_t) IOMapper::gSystem & kWaitMask) { in waitForSystemMapper()
162 sMapperLock.sleep(&IOMapper::gSystem); in waitForSystemMapper()
241 if (IOMapper::gSystem) { in IOMapperIOVMAlloc()
242 ret = IOMapper::gSystem->iovmMapMemory( in IOMapperIOVMAlloc()
263 if (IOMapper::gSystem) { in IOMapperIOVMFree()
264 IOMapper::gSystem->iovmUnmapMemory(NULL, NULL, ptoa_64(addr), ptoa_64(pages)); in IOMapperIOVMFree()
271 if (!IOMapper::gSystem) { in IOMapperInsertPage()
277 IOMapper::gSystem->iovmInsert((kIODMAMapReadAccess | kIODMAMapWriteAccess), in IOMapperInsertPage()
297 if (IOMapper::gSystem) { in IOMappedRead8()
298 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedRead8()
310 if (IOMapper::gSystem) { in IOMappedRead16()
311 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedRead16()
323 if (IOMapper::gSystem) { in IOMappedRead32()
324 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedRead32()
336 if (IOMapper::gSystem) { in IOMappedRead64()
337 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedRead64()
349 if (IOMapper::gSystem) { in IOMappedWrite8()
350 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedWrite8()
362 if (IOMapper::gSystem) { in IOMappedWrite16()
363 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedWrite16()
375 if (IOMapper::gSystem) { in IOMappedWrite32()
376 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedWrite32()
388 if (IOMapper::gSystem) { in IOMappedWrite64()
389 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedWrite64()