Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 4872160 in mainline for boot/arch/ppc32/include/types.h


Ignore:
Timestamp:
2010-05-04T10:44:55Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
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/ppc32/include/types.h

    rbb252ca r4872160  
    3030#define BOOT_ppc32_TYPES_H_
    3131
    32 #include <gentypes.h>
     32#define TASKMAP_MAX_RECORDS        32
     33#define BOOTINFO_TASK_NAME_BUFLEN  32
    3334
    34 typedef signed char int8_t;
    35 
    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 
     35typedef uint32_t size_t;
    4136typedef uint32_t uintptr_t;
    4237typedef uint32_t unative_t;
     38typedef int32_t native_t;
     39
     40typedef struct {
     41        void *addr;
     42        size_t size;
     43        char name[BOOTINFO_TASK_NAME_BUFLEN];
     44} task_t;
     45
     46typedef struct {
     47        size_t cnt;
     48        task_t tasks[TASKMAP_MAX_RECORDS];
     49} taskmap_t;
    4350
    4451#endif
Note: See TracChangeset for help on using the changeset viewer.