Mercurial > sos > sos
view include/os/svc.h @ 150:e72f984619c7
Consolidated a lot of the defines which relate to the memory layout
There is a new file (include/os/memLayout.h) which now includes just
about all the #defines
author | Jonathan Pevarnek <pevarnj@gmail.com> |
---|---|
date | Wed, 02 Nov 2011 09:55:09 -0400 |
parents | 4473e746fe5a |
children |
line wrap: on
line source
#ifndef __SVC_H #define __SVC_H #include <os/psw.h> extern void setcontext(struct psw *psw, u64 *regs); extern void savecontext(struct psw *psw, u64 *regs); extern void swapcontext(struct psw *oldpsw, u64 *oldregs, struct psw *newpsw, u64 *newregs); extern void set_svc_handler(u64(*f)(u64, u64, u64, u64, u64), void *stack); #endif