RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
mmu.h
1/*
2 * ARM MMU header file
3 */
4
5/*
6 * Copyright (c) 2004 by Cogent Computer Systems
7 * Written by Jay Monkman <jtm@lopingdog.com>
8 */
9
10#ifndef __LIBCPU_MMU_H__
11#define __LIBCPU_MMU_H__
12
13#include <stdint.h>
14
15#define MMU_SECT_SIZE 0x100000
16
17#define MMU_CACHE_NONE 0x0
18#define MMU_CACHE_BUFFERED 0x1
19#define MMU_CACHE_WTHROUGH 0x2
20#define MMU_CACHE_WBACK 0x3
21
22typedef struct {
23 uint32_t paddr;
24 uint32_t vaddr;
25 uint32_t size; /* in MB */
26 uint8_t cache_flags;
28
29void mmu_init(mmu_sect_map_t *map);
30void mmu_set_cpu_async_mode(void);
31
32#endif /* __MMU_H__ */
Definition: mm.c:60
Definition: mmu.h:22
unsigned size
Definition: tte.h:1