35,7 → 35,6 |
#ifndef KERN_sparc64_BOOT_H_ |
#define KERN_sparc64_BOOT_H_ |
|
|
#define VMA 0x400000 |
#define LMA VMA |
|
42,8 → 41,10 |
#ifndef __ASM__ |
#ifndef __LINKER__ |
|
#include <config.h> |
#include <arch/types.h> |
#include <typedefs.h> |
#include <genarch/ofw/ofw_tree.h> |
|
#define TASKMAP_MAX_RECORDS 32 |
#define MEMMAP_MAX_RECORDS 32 |
86,6 → 87,10 |
uint32_t clock_frequency; |
} processor_t; |
|
/** Bootinfo structure. |
* |
* Must be in sync with bootinfo structure used by the boot loader. |
*/ |
typedef struct { |
taskmap_t taskmap; |
memmap_t memmap; |
92,6 → 97,8 |
screen_t screen; |
keyboard_t keyboard; |
processor_t processor; |
ballocs_t ballocs; |
ofw_tree_node_t *ofw_root; |
} bootinfo_t; |
|
extern bootinfo_t bootinfo; |