Rev 1075 | Rev 1219 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1075 | Rev 1131 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | * @param addr Address or size to be aligned. |
36 | * @param addr Address or size to be aligned. |
37 | * @param align Size of alignment, must be power of 2. |
37 | * @param align Size of alignment, must be power of 2. |
38 | */ |
38 | */ |
39 | #define ALIGN_UP(addr, align) (((addr) + ((align) - 1)) & ~((align) - 1)) |
39 | #define ALIGN_UP(addr, align) (((addr) + ((align) - 1)) & ~((align) - 1)) |
40 | 40 | ||
- | 41 | typedef struct { |
|
- | 42 | memmap_t memmap; |
|
- | 43 | screen_t screen; |
|
- | 44 | } bootinfo_t; |
|
- | 45 | ||
41 | extern int _binary_____________kernel_kernel_bin_start; |
46 | extern int _binary_____________kernel_kernel_bin_start; |
42 | extern int _binary_____________kernel_kernel_bin_end; |
47 | extern int _binary_____________kernel_kernel_bin_end; |
43 | extern void start(void); |
48 | extern void start(void); |
44 | extern void bootstrap(void); |
49 | extern void bootstrap(void); |
45 | 50 |