Changeset 4037847 in mainline for arch/ppc32/include/boot/boot.h


Ignore:
Timestamp:
2006-03-24T19:14:12Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c715e9b
Parents:
5201199
Message:

kernel boot API change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/include/boot/boot.h

    r5201199 r4037847  
    3535#define TEMP_STACK_SIZE 0x100
    3636
     37#define MEMMAP_MAX_RECORDS 32
     38
     39#ifndef __ASM__
     40
     41#include <arch/types.h>
     42
     43typedef struct {
     44        __address start;
     45        __u32 size;
     46} memzone_t;
     47
     48typedef struct {
     49        __u32 total;
     50        __u32 count;
     51        memzone_t zones[MEMMAP_MAX_RECORDS];
     52} memmap_t;
     53
     54typedef struct {
     55        unsigned int addr;
     56        unsigned int width;
     57        unsigned int height;
     58        unsigned int bpp;
     59        unsigned int scanline;
     60} screen_t;
     61
     62typedef struct {
     63        memmap_t memmap;
     64        screen_t screen;
     65} bootinfo_t;
     66
     67extern bootinfo_t bootinfo;
     68
    3769#endif
     70
     71#endif
Note: See TracChangeset for help on using the changeset viewer.