From f43d7f71eb78d6dc7a3b1a1334b45a734c19fc4f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 18 Oct 2000 13:10:38 +0000 Subject: 2000-10-18 Joel Sherrill * page.c: Replaced prototype of printk() with include of . --- c/src/lib/libcpu/i386/ChangeLog | 4 ++++ 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 + + * page.c: Replaced prototype of printk() with include of . + 2000-10-17 Joel Sherrill * 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 int _CPU_display_memory_attribute(){ unsigned int dirCount, pageCount; -- cgit v1.2.3