diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-10-18 13:10:38 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-10-18 13:10:38 +0000 |
commit | f43d7f71eb78d6dc7a3b1a1334b45a734c19fc4f (patch) | |
tree | 21c711bfb53db891d9fc7b20173218e1c0ff77ae /c/src/lib | |
parent | 2000-10-18 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-f43d7f71eb78d6dc7a3b1a1334b45a734c19fc4f.tar.bz2 |
2000-10-18 Joel Sherrill <joel@OARcorp.com>
* page.c: Replaced prototype of printk() with include of <bspIo.h>.
Diffstat (limited to 'c/src/lib')
-rw-r--r-- | c/src/lib/libcpu/i386/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libcpu/i386/page.c | 5 |
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; |