diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-02-24 14:36:00 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-02-24 14:36:00 +0000 |
commit | 3dd7a724edb3b941a12a3e9917204de51876c6d6 (patch) | |
tree | f93a532d177071288d031e96a4d48c06f1459ff3 /c/src/lib/libcpu | |
parent | Corrected name of file. (diff) | |
download | rtems-3dd7a724edb3b941a12a3e9917204de51876c6d6.tar.bz2 |
Removed dependency on bsp.h.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libcpu/i386/page.c | 4 |
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; |