Changeset 4872160 in mainline for boot/arch/sparc64/include/main.h


Ignore:
Timestamp:
2010-05-04T10:44:55Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
568db0f
Parents:
bb252ca
Message:

new boot infrastructure

  • more code and metadata unification
  • import of up-to-date implementations from the kernel
  • the boot loaders should behave more similarly on all platforms
  • support for deflate compressed (LZ77) boot components
    • this again allows feasible boot images to be created on mips32
  • IA64 is still not booting
    • the broken forked GNU EFI library has been removed, a replacement of the functionality is on its way
File:
1 moved

Legend:

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

    rbb252ca r4872160  
    11/*
    2  * Copyright (c) 2006 Martin Decky
     2 * Copyright (c) 2005 Martin Decky
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 #ifndef BOOT_mips32_TYPES_H_
    30 #define BOOT_mips32_TYPES_H_
     29#ifndef BOOT_sparc64_MAIN_H_
     30#define BOOT_sparc64_MAIN_H_
    3131
    32 #include <gentypes.h>
     32#include <typedefs.h>
     33#include <balloc.h>
     34#include <genarch/ofw_tree.h>
    3335
    34 typedef signed char int8_t;
     36typedef struct {
     37        uintptr_t physmem_start;
     38        taskmap_t taskmap;
     39        memmap_t memmap;
     40        ballocs_t ballocs;
     41        ofw_tree_node_t *ofw_root;
     42} bootinfo_t;
    3543
    36 typedef unsigned char uint8_t;
    37 typedef unsigned short uint16_t;
    38 typedef unsigned int uint32_t;
    39 typedef unsigned long long uint64_t;
    40 
    41 typedef uint32_t uintptr_t;
    42 typedef uint32_t unative_t;
     44extern void bootstrap(void);
    4345
    4446#endif
Note: See TracChangeset for help on using the changeset viewer.