cowtest passed
This commit is contained in:
@@ -60,9 +60,13 @@ void ramdiskintr(void);
|
||||
void ramdiskrw(struct buf*);
|
||||
|
||||
// kalloc.c
|
||||
#define PLUS 1
|
||||
#define SUB 0
|
||||
void* kalloc(void);
|
||||
void kfree(void *);
|
||||
void kinit(void);
|
||||
void reference_operation(void* pa, int op);
|
||||
void* cowcopy_pa(void* pa);
|
||||
|
||||
// log.c
|
||||
void initlog(int, struct superblock*);
|
||||
@@ -173,6 +177,8 @@ uint64 walkaddr(pagetable_t, uint64);
|
||||
int copyout(pagetable_t, uint64, char *, uint64);
|
||||
int copyin(pagetable_t, char *, uint64, uint64);
|
||||
int copyinstr(pagetable_t, char *, uint64, uint64);
|
||||
int iscowpage(uint64 va);
|
||||
void startcowcopy(uint64 va);
|
||||
|
||||
// plic.c
|
||||
void plicinit(void);
|
||||
|
||||
Reference in New Issue
Block a user