uart: Style Cleanup, no functional change
This commit is contained in:
parent
182643f763
commit
eb93f2661d
@ -10,9 +10,12 @@
|
||||
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
#include <arch/generic/debug_uart.h>
|
||||
|
||||
|
||||
class ArchUARTPL011 : public DebugUART {
|
||||
public:
|
||||
ArchUARTPL011(addr_t base, int64 clock);
|
||||
@ -39,4 +42,5 @@ private:
|
||||
|
||||
ArchUARTPL011 *arch_get_uart_pl011(addr_t base, int64 clock);
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -9,9 +9,10 @@
|
||||
#define _KERNEL_ARCH_DEBUG_UART_H
|
||||
|
||||
|
||||
#include <SupportDefs.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
|
||||
class DebugUART {
|
||||
public:
|
||||
|
@ -9,9 +9,10 @@
|
||||
#define _KERNEL_ARCH_DEBUG_UART_8250_H
|
||||
|
||||
|
||||
#include <SupportDefs.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
#include "debug_uart.h"
|
||||
|
||||
|
||||
@ -34,4 +35,5 @@ public:
|
||||
|
||||
extern DebugUART8250 *arch_get_uart_8250(addr_t base, int64 clock);
|
||||
|
||||
|
||||
#endif /* _KERNEL_ARCH_DEBUG_UART_8250_H */
|
||||
|
@ -34,6 +34,7 @@ ArchUART8250::~ArchUART8250()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ArchUART8250::InitEarly()
|
||||
{
|
||||
@ -55,6 +56,8 @@ ArchUART8250::InitEarly()
|
||||
#warning INTITIALIZE UART!!!!!
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ArchUART8250::Out8(int reg, uint8 value)
|
||||
{
|
||||
@ -75,4 +78,3 @@ DebugUART8250 *arch_get_uart_8250(addr_t base, int64 clock)
|
||||
ArchUART8250 *uart = new(buffer) ArchUART8250(base, clock);
|
||||
return uart;
|
||||
}
|
||||
|
||||
|
@ -210,8 +210,6 @@ ArchUARTPL011::Barrier()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void
|
||||
ArchUARTPL011::InitPort(uint32 baud)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user