Changeset 6bbb1610 in mainline for arch/ppc64/loader/ofw.h


Ignore:
Timestamp:
2006-05-21T20:13:14Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
433a2aa
Parents:
0ab829c
Message:

port ppc32 changes to ppc64 (raw)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc64/loader/ofw.h

    r0ab829c r6bbb1610  
    4848typedef struct {
    4949        unsigned long total;
    50         unsigned long count;
     50        unsigned int count;
    5151        memzone_t zones[MEMMAP_MAX_RECORDS];
    5252} memmap_t;
     
    5454typedef struct {
    5555        void *addr;
    56         unsigned long width;
    57         unsigned long height;
    58         unsigned long bpp;
    59         unsigned long scanline;
     56        unsigned int width;
     57        unsigned int height;
     58        unsigned int bpp;
     59        unsigned int scanline;
    6060} screen_t;
    6161
     
    6565
    6666extern void *ofw_translate(const void *virt);
    67 extern long ofw_map(const void *phys, const void *virt, const long size, const long mode);
    68 extern long ofw_memmap(memmap_t *map);
    69 extern long ofw_screen(screen_t *screen);
     67extern int ofw_map(const void *phys, const void *virt, const long size, const int mode);
     68extern int ofw_memmap(memmap_t *map);
     69extern int ofw_screen(screen_t *screen);
    7070
    7171#endif
Note: See TracChangeset for help on using the changeset viewer.