Changes in README. Fixes to fault handling.

Yet to investigate why adding a printf format attribute to
stdio.h does not generate warnings for invalid arguments to printf.
This commit is contained in:
Bahadir Balban
2008-03-16 14:58:47 +00:00
parent 1cc6a87547
commit 0f4a4ae5b4
8 changed files with 83 additions and 46 deletions

View File

@@ -2,6 +2,7 @@
* Copyright (C) 2007 Bahadir Balban
*/
#include <arch/mm.h>
#include <task.h>
/* Extracts generic protection flags from architecture-specific pte */
unsigned int vm_prot_flags(pte_t pte)
@@ -51,11 +52,9 @@ void set_generic_fault_params(struct fault_data *fault)
else
BUG();
}
/*
printf("%s: Handling %s fault (%s abort) from %d. fault @ 0x%x\n",
__TASKNAME__, (fault->reason & VM_READ) ? "read" : "write",
is_prefetch_abort(fault->kdata->fsr) ? "prefetch" : "data",
fault->task->tid, fault->address);
*/
}