view include/os/scall.h @ 145:03be5ed1f609

Use a better method to end a program when an exception occurs
author Jonathan Pevarnek <pevarnj@gmail.com>
date Thu, 22 Sep 2011 16:26:20 -0400
parents 2a35ea7e123b
children
line wrap: on
line source

#ifndef __SCALL_H
#define __SCALL_H

#include <os/psw.h>
#include <os/pcb.h>

PCB shellPCB;

void end_program();
u64 svc_handler(u64 callCode, u64 a, u64 b, u64 c, u64 d);

#endif //__SCALL_H