Rev 763 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 763 | Rev 967 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | */ |
27 | */ |
28 | 28 | ||
29 | #ifndef __ia32_FRAME_H__ |
29 | #ifndef __ia32_FRAME_H__ |
30 | #define __ia32_FRAME_H__ |
30 | #define __ia32_FRAME_H__ |
31 | 31 | ||
32 | #include <arch/types.h> |
- | |
33 | - | ||
34 | #define FRAME_WIDTH 12 /* 4K */ |
32 | #define FRAME_WIDTH 12 /* 4K */ |
35 | #define FRAME_SIZE (1<<FRAME_WIDTH) |
33 | #define FRAME_SIZE (1<<FRAME_WIDTH) |
36 | 34 | ||
- | 35 | ||
- | 36 | #ifdef KERNEL |
|
- | 37 | #ifndef __ASM__ |
|
- | 38 | ||
- | 39 | #include <arch/types.h> |
|
- | 40 | ||
37 | extern __address last_frame; |
41 | extern __address last_frame; |
38 | 42 | ||
39 | extern void frame_arch_init(void); |
43 | extern void frame_arch_init(void); |
40 | 44 | ||
- | 45 | #endif /* __ASM__ */ |
|
- | 46 | #endif /* KERNEL */ |
|
- | 47 | ||
41 | #endif |
48 | #endif |