Rev 534 | Rev 756 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 534 | Rev 619 | ||
---|---|---|---|
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 | ||
32 | #define FRAME_SIZE 8192 |
34 | #define FRAME_SIZE 8192 |
33 | 35 | ||
- | 36 | union frame_address { |
|
- | 37 | __address address; |
|
- | 38 | struct { |
|
- | 39 | unsigned : 23; |
|
- | 40 | __u64 pfn : 28; /**< Physical Frame Number. */ |
|
- | 41 | unsigned offset : 13; /**< Offset. */ |
|
- | 42 | } __attribute__ ((packed)); |
|
- | 43 | }; |
|
- | 44 | ||
- | 45 | typedef union frame_address frame_address_t; |
|
- | 46 | ||
34 | extern void frame_arch_init(void); |
47 | extern void frame_arch_init(void); |
35 | 48 | ||
36 | #endif |
49 | #endif |