summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-24 14:36:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-24 14:36:00 +0000
commit3dd7a724edb3b941a12a3e9917204de51876c6d6 (patch)
treef93a532d177071288d031e96a4d48c06f1459ff3
parentd7e2aa656ccae07fb4b88c3107af369a1c648d7f (diff)
downloadrtems-3dd7a724edb3b941a12a3e9917204de51876c6d6.tar.bz2
Removed dependency on bsp.h.
-rw-r--r--c/src/lib/libcpu/i386/page.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/i386/page.c b/c/src/lib/libcpu/i386/page.c
index 5593d31f62..5d52fa228a 100644
--- a/c/src/lib/libcpu/i386/page.c
+++ b/c/src/lib/libcpu/i386/page.c
@@ -19,7 +19,6 @@
* $Header$
*/
-#include <bsp.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -466,6 +465,9 @@ 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' */
+
int _CPU_display_memory_attribute(){
unsigned int dirCount, pageCount;
cr0 regCr0;