Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 966 → Rev 967

/kernel/trunk/arch/ppc32/include/mm/page.h
29,9 → 29,13
#ifndef __ppc32_PAGE_H__
#define __ppc32_PAGE_H__
 
#include <arch/mm/frame.h>
 
#define PAGE_WIDTH FRAME_WIDTH
#define PAGE_SIZE FRAME_SIZE
 
#ifdef KERNEL
 
#ifndef __ASM__
# define KA2PA(x) (((__address) (x)) - 0x80000000)
# define PA2KA(x) (((__address) (x)) + 0x80000000)
84,4 → 88,6
 
#endif /* __ASM__ */
 
#endif /* KERNEL */
 
#endif