forked from Imagelibrary/rtems
Removed dependency on bsp.h.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user