Changeset 8f91729 in mainline for arch/ppc/include


Ignore:
Timestamp:
2005-08-31T11:43:38Z (20 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e291e5d
Parents:
b9e97fb
Message:

separated stack mapping

Location:
arch/ppc/include
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc/include/context.h

    rb9e97fb r8f91729  
    3131
    3232#include <arch/types.h>
     33#include <arch/drivers/ofw.h>
    3334
    34 #define SP_DELTA        4
     35#define SP_DELTA        8
     36
     37#ifdef context_map_stack
     38#undef context_map_stack
     39#endif
     40
     41#define context_map_stack(stack, size) \
     42        ofw_claim((void *) stack, size, 0);
    3543
    3644struct context {
  • arch/ppc/include/drivers/ofw.h

    rb9e97fb r8f91729  
    5858extern phandle ofw_find_device(const char *name);
    5959extern int ofw_get_property(const phandle device, const char *name, void *buf, const int buflen);
     60extern void *ofw_claim(const void *addr, const int size, const int align);
    6061extern void putchar(const char ch);
    6162
Note: See TracChangeset for help on using the changeset viewer.