Subversion Repositories HelenOS

Rev

Rev 760 | Rev 825 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 760 Rev 765
Line 27... Line 27...
27
 */
27
 */
28
 
28
 
29
#ifndef __mips32_PAGE_H__
29
#ifndef __mips32_PAGE_H__
30
#define __mips32_PAGE_H__
30
#define __mips32_PAGE_H__
31
 
31
 
-
 
32
#define PAGE_WIDTH  FRAME_WIDTH
32
#define PAGE_SIZE   FRAME_SIZE
33
#define PAGE_SIZE   FRAME_SIZE
33
 
34
 
34
#ifndef __ASM__
35
#ifndef __ASM__
35
#  define KA2PA(x)  (((__address) (x)) - 0x80000000)
36
#  define KA2PA(x)  (((__address) (x)) - 0x80000000)
36
#  define PA2KA(x)  (((__address) (x)) + 0x80000000)
37
#  define PA2KA(x)  (((__address) (x)) + 0x80000000)