class PlatformDevice
Defined at line 20 of file ../../src/graphics/magma/lib/magma/platform/platform_device.h
Public Methods
void * GetDeviceHandle ()
uint32_t GetMmioCount ()
std::unique_ptr<PlatformHandle> GetBusTransactionInitiator ()
void ~PlatformDevice ()
Defined at line 32 of file ../../src/graphics/magma/lib/magma/platform/platform_device.h
std::unique_ptr<PlatformMmio> CpuMapMmio (unsigned int index)
Map an MMIO listed at |index| in the MDI for this device.
Defined at line 41 of file ../../src/graphics/magma/lib/magma/platform/platform_device.h
std::unique_ptr<PlatformDevice> Create (void * device_handle)
Ownership of |device_handle| is *not* transferred to the PlatformDevice.
std::unique_ptr<PlatformBuffer> GetMmioBuffer (unsigned int index)
Defined at line 46 of file ../../src/graphics/magma/lib/magma/platform/platform_device.h
std::unique_ptr<PlatformInterrupt> RegisterInterrupt (unsigned int index)
Register an interrupt listed at |index| in the MDI for this device.
Defined at line 52 of file ../../src/graphics/magma/lib/magma/platform/platform_device.h
Enumerations
enum Priority
| Name | Value |
|---|---|
| kPriorityLowest | 0 |
| kPriorityLow | 8 |
| kPriorityDefault | 16 |
| kPriorityHigher | 20 |
| kPriorityHigh | 24 |
| kPriorityHighest | 31 |
See zircon/syscalls/profile.h
Defined at line 23 of file ../../src/graphics/magma/lib/magma/platform/platform_device.h