Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 206 → Rev 207

//SPARTAN/trunk/arch/ppc/include/ppc.h
File deleted
//SPARTAN/trunk/arch/ppc/include/context.h
30,9 → 30,17
#define __ppc_CONTEXT_H__
 
#include <arch/types.h>
#include <arch/drivers/ofw.h>
 
#define SP_DELTA 4
#define SP_DELTA 8
 
#ifdef context_map_stack
#undef context_map_stack
#endif
 
#define context_map_stack(stack, size) \
ofw_claim((void *) stack, size, 0);
 
struct context {
__u32 r0;
__u32 sp;
//SPARTAN/trunk/arch/ppc/include/drivers/ofw.h
57,6 → 57,7
extern void ofw_putchar(const char ch);
extern phandle ofw_find_device(const char *name);
extern int ofw_get_property(const phandle device, const char *name, void *buf, const int buflen);
extern void *ofw_claim(const void *addr, const int size, const int align);
extern void putchar(const char ch);
 
#endif