Subversion Repositories HelenOS

Rev

Rev 763 | Rev 1702 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 763 Rev 967
Line 27... Line 27...
27
 */
27
 */
28
 
28
 
29
#ifndef __sparc64_FRAME_H__
29
#ifndef __sparc64_FRAME_H__
30
#define __sparc64_FRAME_H__
30
#define __sparc64_FRAME_H__
31
 
31
 
32
#include <arch/types.h>
-
 
33
 
-
 
34
#define FRAME_WIDTH     13  /* 8K */
32
#define FRAME_WIDTH     13  /* 8K */
35
#define FRAME_SIZE      (1<<FRAME_WIDTH)
33
#define FRAME_SIZE      (1<<FRAME_WIDTH)
36
 
34
 
-
 
35
#ifdef KERNEL
-
 
36
#ifndef __ASM__
-
 
37
 
-
 
38
#include <arch/types.h>
-
 
39
 
37
union frame_address {
40
union frame_address {
38
    __address address;
41
    __address address;
39
    struct {
42
    struct {
40
        unsigned : 23;
43
        unsigned : 23;
41
        __u64 pfn : 28;         /**< Physical Frame Number. */
44
        __u64 pfn : 28;         /**< Physical Frame Number. */
Line 46... Line 49...
46
typedef union frame_address frame_address_t;
49
typedef union frame_address frame_address_t;
47
 
50
 
48
extern void frame_arch_init(void);
51
extern void frame_arch_init(void);
49
 
52
 
50
#endif
53
#endif
-
 
54
#endif
-
 
55
 
-
 
56
#endif