Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/boot/boot.h

    rb97b348 rf7734012  
    2727 */
    2828
    29 /** @addtogroup sparc64
     29/** @addtogroup sparc64 
    3030 * @{
    3131 */
     
    3636#define KERN_sparc64_BOOT_H_
    3737
    38 #define VMA  0x400000
    39 #define LMA  VMA
     38#define VMA                     0x400000
     39#define LMA                     VMA
    4040
    4141#ifndef __ASM__
     
    4343
    4444#include <config.h>
    45 #include <typedefs.h>
     45#include <arch/types.h>
    4646#include <genarch/ofw/ofw_tree.h>
    4747
    48 #define TASKMAP_MAX_RECORDS  32
    49 #define MEMMAP_MAX_RECORDS   32
     48#define TASKMAP_MAX_RECORDS     32
     49#define MEMMAP_MAX_RECORDS      32
    5050
    51 #define BOOTINFO_TASK_NAME_BUFLEN  32
     51#define BOOTINFO_TASK_NAME_BUFLEN 32
    5252
    5353typedef struct {
    54         void *addr;
    55         size_t size;
     54        void * addr;
     55        uint32_t size;
    5656        char name[BOOTINFO_TASK_NAME_BUFLEN];
    5757} utask_t;
    5858
    5959typedef struct {
    60         size_t cnt;
     60        uint32_t count;
    6161        utask_t tasks[TASKMAP_MAX_RECORDS];
    6262} taskmap_t;
    6363
    6464typedef struct {
    65         void *start;
    66         size_t size;
     65        uintptr_t start;
     66        uint32_t size;
    6767} memzone_t;
    6868
    6969typedef struct {
    70         uint64_t total;
    71         size_t cnt;
     70        uint32_t total;
     71        uint32_t count;
    7272        memzone_t zones[MEMMAP_MAX_RECORDS];
    7373} memmap_t;
     
    7676 *
    7777 * Must be in sync with bootinfo structure used by the boot loader.
    78  *
    7978 */
    8079typedef struct {
     
    8685} bootinfo_t;
    8786
    88 extern memmap_t memmap;
     87extern bootinfo_t bootinfo;
    8988
    9089#endif
Note: See TracChangeset for help on using the changeset viewer.