Changes in kernel/arch/sparc64/include/boot/boot.h [b97b348:f7734012] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/boot/boot.h
rb97b348 rf7734012 27 27 */ 28 28 29 /** @addtogroup sparc64 29 /** @addtogroup sparc64 30 30 * @{ 31 31 */ … … 36 36 #define KERN_sparc64_BOOT_H_ 37 37 38 #define VMA 39 #define LMA 38 #define VMA 0x400000 39 #define LMA VMA 40 40 41 41 #ifndef __ASM__ … … 43 43 44 44 #include <config.h> 45 #include < typedefs.h>45 #include <arch/types.h> 46 46 #include <genarch/ofw/ofw_tree.h> 47 47 48 #define TASKMAP_MAX_RECORDS 49 #define MEMMAP_MAX_RECORDS 48 #define TASKMAP_MAX_RECORDS 32 49 #define MEMMAP_MAX_RECORDS 32 50 50 51 #define BOOTINFO_TASK_NAME_BUFLEN 51 #define BOOTINFO_TASK_NAME_BUFLEN 32 52 52 53 53 typedef struct { 54 void * addr;55 size_t size;54 void * addr; 55 uint32_t size; 56 56 char name[BOOTINFO_TASK_NAME_BUFLEN]; 57 57 } utask_t; 58 58 59 59 typedef struct { 60 size_t cnt;60 uint32_t count; 61 61 utask_t tasks[TASKMAP_MAX_RECORDS]; 62 62 } taskmap_t; 63 63 64 64 typedef struct { 65 void *start;66 size_t size;65 uintptr_t start; 66 uint32_t size; 67 67 } memzone_t; 68 68 69 69 typedef struct { 70 uint 64_t total;71 size_t cnt;70 uint32_t total; 71 uint32_t count; 72 72 memzone_t zones[MEMMAP_MAX_RECORDS]; 73 73 } memmap_t; … … 76 76 * 77 77 * Must be in sync with bootinfo structure used by the boot loader. 78 *79 78 */ 80 79 typedef struct { … … 86 85 } bootinfo_t; 87 86 88 extern memmap_t memmap;87 extern bootinfo_t bootinfo; 89 88 90 89 #endif
Note:
See TracChangeset
for help on using the changeset viewer.