mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Remove TABs
This commit is contained in:
@@ -70,9 +70,9 @@
|
||||
void outp(char p, char c)
|
||||
{
|
||||
__asm
|
||||
ld c, 4(ix) ; port
|
||||
ld a, 5(ix) ; value
|
||||
out (c), a
|
||||
ld c, 4(ix) ; port
|
||||
ld a, 5(ix) ; value
|
||||
out (c), a
|
||||
__endasm;
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ void outp(char p, char c)
|
||||
char inp(char p) __naked
|
||||
{
|
||||
__asm
|
||||
ld c, 4(ix) ;port
|
||||
in l, (c)
|
||||
ld c, 4(ix) ;port
|
||||
in l, (c)
|
||||
__endasm;
|
||||
}
|
||||
|
||||
@@ -97,8 +97,8 @@ extern uintptr_t up_vectors[16];
|
||||
static void z180_seti(uint8_t value) __naked
|
||||
{
|
||||
__asm
|
||||
ld a, 4(ix) ;value
|
||||
ld l, a
|
||||
ld a, 4(ix) ; value
|
||||
ld l, a
|
||||
__endasm;
|
||||
}
|
||||
|
||||
|
||||
@@ -77,15 +77,15 @@ extern uint32_t get_freq(void);
|
||||
|
||||
struct z8_uart_s
|
||||
{
|
||||
uint8_t volatile far* uartbase; /* Base address of UART registers */
|
||||
uint32_t baud; /* Configured baud */
|
||||
bool rxenabled; /* RX interrupt enabled */
|
||||
bool txenabled; /* TX interrupt enabled */
|
||||
uint8_t rxirq; /* RX IRQ associated with this UART */
|
||||
uint8_t txirq; /* RX IRQ associated with this UART */
|
||||
uint8_t parity; /* 0=none, 1=odd, 2=even */
|
||||
bool stopbits2; /* true: Configure with 2 stop bits
|
||||
* (instead of 1) */
|
||||
uint8_t volatile far* uartbase; /* Base address of UART registers */
|
||||
uint32_t baud; /* Configured baud */
|
||||
bool rxenabled; /* RX interrupt enabled */
|
||||
bool txenabled; /* TX interrupt enabled */
|
||||
uint8_t rxirq; /* RX IRQ associated with this UART */
|
||||
uint8_t txirq; /* RX IRQ associated with this UART */
|
||||
uint8_t parity; /* 0=none, 1=odd, 2=even */
|
||||
bool stopbits2; /* true: Configure with 2 stop bits
|
||||
* (instead of 1) */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
@@ -70,9 +70,9 @@
|
||||
void outp(char p, char c)
|
||||
{
|
||||
__asm
|
||||
ld c, 4(ix) ; port
|
||||
ld a, 5(ix) ; value
|
||||
out (c), a
|
||||
ld c, 4(ix) ; port
|
||||
ld a, 5(ix) ; value
|
||||
out (c), a
|
||||
__endasm;
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ void outp(char p, char c)
|
||||
char inp(char p) __naked
|
||||
{
|
||||
__asm
|
||||
ld c, 4(ix) ;port
|
||||
in l, (c)
|
||||
ld c, 4(ix) ;port
|
||||
in l, (c)
|
||||
__endasm;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user