Lines Matching refs:gSystem

63 IOMapper * IOMapper::gSystem = (IOMapper *) IOMapper::kUnknown;  member in IOMapper
119 IOMapper::gSystem = this; in start()
120 sMapperLock.wakeup(&IOMapper::gSystem); in start()
146 IOMapper::gSystem = (IOMapper *) kHasMapper; in setMapperRequired()
149 IOMapper::gSystem = (IOMapper *) kNoMapper; in setMapperRequired()
151 sMapperLock.wakeup(&IOMapper::gSystem); in setMapperRequired()
159 while ((uintptr_t) IOMapper::gSystem & kWaitMask) { in waitForSystemMapper()
161 sMapperLock.sleep(&IOMapper::gSystem); in waitForSystemMapper()
240 if (IOMapper::gSystem) { in IOMapperIOVMAlloc()
241 ret = IOMapper::gSystem->iovmMapMemory( in IOMapperIOVMAlloc()
262 if (IOMapper::gSystem) { in IOMapperIOVMFree()
263 IOMapper::gSystem->iovmUnmapMemory(NULL, NULL, ptoa_64(addr), ptoa_64(pages)); in IOMapperIOVMFree()
270 if (!IOMapper::gSystem) { in IOMapperInsertPage()
276 IOMapper::gSystem->iovmInsert((kIODMAMapReadAccess | kIODMAMapWriteAccess), in IOMapperInsertPage()
296 if (IOMapper::gSystem) { in IOMappedRead8()
297 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedRead8()
309 if (IOMapper::gSystem) { in IOMappedRead16()
310 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedRead16()
322 if (IOMapper::gSystem) { in IOMappedRead32()
323 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedRead32()
335 if (IOMapper::gSystem) { in IOMappedRead64()
336 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedRead64()
348 if (IOMapper::gSystem) { in IOMappedWrite8()
349 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedWrite8()
361 if (IOMapper::gSystem) { in IOMappedWrite16()
362 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedWrite16()
374 if (IOMapper::gSystem) { in IOMappedWrite32()
375 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedWrite32()
387 if (IOMapper::gSystem) { in IOMappedWrite64()
388 addr64_t addr = IOMapper::gSystem->mapToPhysicalAddress(address); in IOMappedWrite64()