xv6-cs450/defs.h

25 lines
419 B
C
Raw Normal View History

2006-06-12 17:22:12 +02:00
// kalloc.c
char *kalloc(int n);
void kfree(char *cp, int len);
2006-06-15 18:02:20 +02:00
void kinit(void);
2006-06-12 17:22:12 +02:00
// console.c
void cprintf(char *fmt, ...);
void panic(char *s);
// proc.c
struct proc;
2006-06-15 18:02:20 +02:00
void setupsegs(struct proc *);
struct proc * newproc(void);
void swtch(void);
// trap.c
void tinit(void);
// string.c
void * memcpy(void *dst, void *src, unsigned n);
void * memset(void *dst, int c, unsigned n);
// syscall.c
void syscall(void);