Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 966 → Rev 967

//kernel/trunk/arch/sparc64/include/mm/frame.h
29,11 → 29,14
#ifndef __sparc64_FRAME_H__
#define __sparc64_FRAME_H__
 
#include <arch/types.h>
 
#define FRAME_WIDTH 13 /* 8K */
#define FRAME_SIZE (1<<FRAME_WIDTH)
 
#ifdef KERNEL
#ifndef __ASM__
 
#include <arch/types.h>
 
union frame_address {
__address address;
struct {
48,3 → 51,6
extern void frame_arch_init(void);
 
#endif
#endif
 
#endif
//kernel/trunk/arch/sparc64/include/mm/page.h
29,13 → 29,16
#ifndef __sparc64_PAGE_H__
#define __sparc64_PAGE_H__
 
#include <mm/page.h>
#include <arch/mm/frame.h>
#include <arch/types.h>
 
#define PAGE_WIDTH FRAME_WIDTH
#define PAGE_SIZE FRAME_SIZE
 
#ifdef KERNEL
 
#include <mm/page.h>
#include <arch/types.h>
 
#define KA2PA(x) ((__address) (x))
#define PA2KA(x) ((__address) (x))
 
53,4 → 56,6
 
extern void page_arch_init(void);
 
#endif /* KERNEL */
 
#endif