Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 967 → Rev 966

/kernel/trunk/arch/ppc32/include/mm/page.h
29,13 → 29,9
#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)
88,6 → 84,4
 
#endif /* __ASM__ */
 
#endif /* KERNEL */
 
#endif