summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/lib/libcpu/i386/ChangeLog4
-rw-r--r--c/src/lib/libcpu/i386/page.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/c/src/lib/libcpu/i386/ChangeLog b/c/src/lib/libcpu/i386/ChangeLog
index 824137322c..571d237f90 100644
--- a/c/src/lib/libcpu/i386/ChangeLog
+++ b/c/src/lib/libcpu/i386/ChangeLog
@@ -1,3 +1,7 @@
+2000-10-18 Joel Sherrill <joel@OARcorp.com>
+
+ * page.c: Replaced prototype of printk() with include of <bspIo.h>.
+
2000-10-17 Joel Sherrill <joel@OARcorp.com>
* idt.c, Makefile.am: Moved idt.c to libbsp/i386/shared so
diff --git a/c/src/lib/libcpu/i386/page.c b/c/src/lib/libcpu/i386/page.c
index c44ab3a393..a459f0c195 100644
--- a/c/src/lib/libcpu/i386/page.c
+++ b/c/src/lib/libcpu/i386/page.c
@@ -1,5 +1,3 @@
-/*
- * page.c :- This file contains implementation of C function to
* Instanciate paging. More detailled information
* can be found on Intel site and more precisely in
* the following book :
@@ -439,8 +437,7 @@ int _CPU_change_memory_mapping_attribute
* CACHE_DISABLE of the whole memory
*/
-/* hack to avoid dependency on bsp.h */
-void printk(char *fmt, ...); /* from 'printk.c' */
+#include <bspIo.h>
int _CPU_display_memory_attribute(){
unsigned int dirCount, pageCount;