20 #include "pedigree/kernel/processor/IoPortManager.h" 21 #include "pedigree/kernel/LockGuard.h" 22 #include "pedigree/kernel/processor/IoPort.h" 23 #include "pedigree/kernel/processor/Processor.h" 24 #include "pedigree/kernel/utilities/new" 26 #if !defined(KERNEL_PROCESSOR_NO_PORT_IO) 32 #if defined(ADDITIONAL_CHECKS) 51 #if defined(ADDITIONAL_CHECKS) 89 while (IoPorts.
count() != 0)
void pushBack(const T &value)
Vector< IoPort * > m_UsedIoPorts
static size_t isInitialised()
A vector / dynamic array.
void free(T address, T length, bool merge=true)
bool allocate(IoPort *Port, io_port_t ioPort, size_t size)
Manages hardware I/O port (de)allocations.
static IoPortManager m_Instance
void initialise(io_port_t ioPortBase, size_t size) INITIALISATION_ONLY
bool allocateSpecific(T address, T length)
void allocateIoPortList(Vector< IoPortInfo * > &IoPorts)
IoPortManager() INITIALISATION_ONLY
virtual size_t size() const
RangeList< uint32_t > m_FreeIoPorts
void freeIoPortList(Vector< IoPortInfo * > &IoPorts)