UNIX xv6 (rev8, 9/1/15)
|
#include "types.h"
#include "defs.h"
#include "param.h"
#include "traps.h"
#include "spinlock.h"
#include "fs.h"
#include "file.h"
#include "memlayout.h"
#include "mmu.h"
#include "proc.h"
#include "x86.h"
Go to the source code of this file.
Macros | |
#define | BACKSPACE 0x100 |
#define | CRTPORT 0x3d4 |
#define | INPUT_BUF 128 |
#define | C(x) ((x)-'@') |
Functions | |
void | cprintf (char *fmt,...) |
void | panic (char *s) |
void | consoleintr (int(*getc)(void)) |
int | consoleread (struct inode *ip, char *dst, int n) |
int | consolewrite (struct inode *ip, char *buf, int n) |
void | consoleinit (void) |
Variables | |
struct { | |
struct spinlock lock | |
char buf [INPUT_BUF] | |
uint r | |
uint w | |
uint e | |
} | input |
struct { ... } input |