RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
i386
include
libcpu
page.h
1
/*
2
* @file
3
*
4
* Copyright (C) 1998 Eric Valette (valette@crf.canon.fr)
5
* Canon Centre Recherche France.
6
*
7
* The license and distribution terms for this file may be
8
* found in the file LICENSE in this distribution or at
9
* http://www.rtems.org/license/LICENSE.
10
*/
11
12
#ifndef _LIBCPU_i386_PAGE_H
13
#define _LIBCPU_i386_PAGE_H
14
15
#ifndef ASM
16
17
#include <rtems/score/cpu.h>
18
19
/* C declaration for paging management */
20
21
extern
int
_CPU_is_cache_enabled(
void
);
22
extern
int
_CPU_is_paging_enabled(
void
);
23
extern
int
init_paging(
void
);
24
extern
void
_CPU_enable_paging(
void
);
25
extern
void
_CPU_disable_paging(
void
);
26
extern
void
_CPU_disable_cache(
void
);
27
extern
void
_CPU_enable_cache(
void
);
28
extern
int
_CPU_map_phys_address
29
(
void
**mappedAddress,
void
*physAddress,
30
int
size,
int
flag);
31
extern
int
_CPU_unmap_virt_address (
void
*mappedAddress,
int
size);
32
extern
int
_CPU_change_memory_mapping_attribute
33
(
void
**newAddress,
void
*mappedAddress,
34
unsigned
int
size,
unsigned
int
flag);
35
extern
int
_CPU_display_memory_attribute(
void
);
36
37
# endif
/* ASM */
38
39
#endif
Generated by
1.18.0