forked from Imagelibrary/rtems
libcpu/arm/shared/../mmu: Fix warnings
This commit is contained in:
@@ -1,9 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
* ARM920 MMU functions
|
* ARM920 MMU functions
|
||||||
*
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* Copyright (c) 2004 by Cogent Computer Systems
|
* Copyright (c) 2004 by Cogent Computer Systems
|
||||||
* Written by Jay Monkman <jtm@lopingdog.com>
|
* Written by Jay Monkman <jtm@lopingdog.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <libcpu/mmu.h>
|
#include <libcpu/mmu.h>
|
||||||
#include <libcpu/arm-cp15.h>
|
#include <libcpu/arm-cp15.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* ARM MMU header file
|
* ARM MMU header file
|
||||||
*
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* Copyright (c) 2004 by Cogent Computer Systems
|
* Copyright (c) 2004 by Cogent Computer Systems
|
||||||
* Written by Jay Monkman <jtm@lopingdog.com>
|
* Written by Jay Monkman <jtm@lopingdog.com>
|
||||||
*/
|
*/
|
||||||
#ifndef __MMU_H__
|
|
||||||
#define __MMU_H__
|
#ifndef __LIBCPU_MMU_H__
|
||||||
|
#define __LIBCPU_MMU_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
@@ -24,5 +27,6 @@ typedef struct {
|
|||||||
} mmu_sect_map_t;
|
} mmu_sect_map_t;
|
||||||
|
|
||||||
void mmu_init(mmu_sect_map_t *map);
|
void mmu_init(mmu_sect_map_t *map);
|
||||||
|
void mmu_set_cpu_async_mode(void);
|
||||||
|
|
||||||
#endif /* __MMU_H__ */
|
#endif /* __MMU_H__ */
|
||||||
|
|||||||
Reference in New Issue
Block a user