view arch/svcint.h @ 23:e7b9148156c4

arch: hopefully the rest of the SVC related code
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Wed, 27 Apr 2011 14:48:56 -0400
parents ca308c8ca41e
children
line wrap: on
line source

#ifndef __SVCINT_H
#define __SVCINT_H

#define _PSA_OLD_SVC_PSW	0x140
#define _PSA_NEW_SVC_PSW	0x1c0

#define _PSA_SVC_ID	0x88
#define _PSA_GPRS	0x200
#define _PSA_PSW_TMP	0x280

#define PSA_OLD_SVC_PSW		((struct psw*) _PSA_OLD_SVC_PSW)
#define PSA_NEW_SVC_PSW		((struct psw*) _PSA_NEW_SVC_PSW)

#define PSA_GPRS	((u64*) _PSA_GPRS)
#define PSA_PSW_TMP	((struct psw*) _PSA_PSW_TMP)

#endif