20 #ifndef MACHINE_ARM_BEAGLE_SERIAL_H 21 #define MACHINE_ARM_BEAGLE_SERIAL_H 23 #include "pedigree/kernel/machine/Serial.h" 24 #include "pedigree/kernel/processor/InterruptManager.h" 25 #include "pedigree/kernel/processor/MemoryRegion.h" 34 virtual void setBase(uintptr_t nBaseAddr);
36 virtual char readNonBlock();
37 virtual void write(
char c);
39 virtual void interrupt(
size_t nInterruptNumber, InterruptState &state);
68 XON1_ADDR1_REG = 0x10,
70 XON2_ADDR2_REG = 0x14,
volatile uint8_t * m_Base
MemoryRegion m_BaseRegion
void softReset()
Perform a software reset of this UART.
virtual void interrupt(size_t nInterruptNumber, InterruptState &state)
Implements the UART interface on the BeagleBoard.
bool setFifoDefaults()
Reset the FIFOs and DMA to default values.
Special memory entity in the kernel's virtual address space.
virtual void setBase(uintptr_t nBaseAddr)
Abstract base class for interrupt-handlers.
bool disableFlowControl()
Disables hardware flow control on the UART.