Rev 2131 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2131 | Rev 2307 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | #ifndef BOOT_BALLOC_H_ |
29 | #ifndef BOOT_BALLOC_H_ |
30 | #define BOOT_BALLOC_H_ |
30 | #define BOOT_BALLOC_H_ |
31 | 31 | ||
32 | #include <types.h> |
32 | #include <types.h> |
33 | 33 | ||
- | 34 | #define BALLOC_MAX_SIZE (1024 * 1024) |
|
- | 35 | ||
34 | typedef struct { |
36 | typedef struct { |
35 | uintptr_t base; |
37 | uintptr_t base; |
36 | size_t size; |
38 | size_t size; |
37 | } ballocs_t; |
39 | } ballocs_t; |
38 | 40 |