Subversion Repositories HelenOS

Rev

Rev 4343 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4343 Rev 4344
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
/** @addtogroup ia32mm 
29
/** @addtogroup ia32mm
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#ifndef KERN_ia32_FRAME_H_
35
#ifndef KERN_ia32_FRAME_H_
36
#define KERN_ia32_FRAME_H_
36
#define KERN_ia32_FRAME_H_
37
 
37
 
38
#define FRAME_WIDTH 12  /* 4K */
38
#define FRAME_WIDTH  12  /* 4K */
39
#define FRAME_SIZE  (1 << FRAME_WIDTH)
39
#define FRAME_SIZE   (1 << FRAME_WIDTH)
40
 
40
 
41
#ifdef KERNEL
41
#ifdef KERNEL
42
#ifndef __ASM__
42
#ifndef __ASM__
43
 
43
 
44
#include <arch/types.h>
44
#include <arch/types.h>
45
 
45
 
46
extern uintptr_t last_frame;
46
extern uintptr_t last_frame;
47
extern uintptr_t end_frame;
-
 
48
 
47
 
49
extern void frame_arch_init(void);
48
extern void frame_arch_init(void);
50
extern void physmem_print(void);
49
extern void physmem_print(void);
51
 
50
 
52
#endif /* __ASM__ */
51
#endif /* __ASM__ */