clang-format
This commit is contained in:
@@ -40,17 +40,17 @@
|
||||
#define CONSOLE_INPUT_BUFFER_SIZE 32
|
||||
|
||||
struct con_softc {
|
||||
/* initialized by attach routine */
|
||||
void *cs_devdata;
|
||||
void (*cs_send)(void *devdata, int ch);
|
||||
void (*cs_sendpolled)(void *devdata, int ch);
|
||||
/* initialized by attach routine */
|
||||
void *cs_devdata;
|
||||
void (*cs_send)(void *devdata, int ch);
|
||||
void (*cs_sendpolled)(void *devdata, int ch);
|
||||
|
||||
/* initialized by config routine */
|
||||
struct semaphore *cs_rsem;
|
||||
struct semaphore *cs_wsem;
|
||||
unsigned char cs_gotchars[CONSOLE_INPUT_BUFFER_SIZE];
|
||||
unsigned cs_gotchars_head; /* next slot to put a char in */
|
||||
unsigned cs_gotchars_tail; /* next slot to take a char out */
|
||||
/* initialized by config routine */
|
||||
struct semaphore *cs_rsem;
|
||||
struct semaphore *cs_wsem;
|
||||
unsigned char cs_gotchars[CONSOLE_INPUT_BUFFER_SIZE];
|
||||
unsigned cs_gotchars_head; /* next slot to put a char in */
|
||||
unsigned cs_gotchars_tail; /* next slot to take a char out */
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user