blob: bd7147c0158557425dcb7ac65cb87d6b26395bf3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/*-------------------------------------*/
/* asmstub.h */
/* Last change : 20. 1.95 */
/*-------------------------------------*/
#ifndef _ASMSTUB_H_
#define _ASMSTUB_H_
#include "prcb.h"
/* Reset Processor taking Start Point and Prcb
* as parameters.
*/
extern void asm_exit(void (* start)(void), struct PRCB * prcb);
/* Call SYSCTL instruction.
*/
extern void asm_sysctl(unsigned int cmd, unsigned int a1, unsigned int a2);
/* Alter a bit in the interrupt pending register.
*/
extern void asm_ipend(unsigned int iNmbr, unsigned int toSet);
/* Alter a bit in the interrupt mask register.
*/
extern void asm_imask(unsigned int iNmbr, unsigned int toSet);
/* Call MODPC instruction.
*/
extern int asm_modpc(unsigned int val, unsigned int mask);
/* Change a cached interrupt vector.
*/
extern void asm_ivector(unsigned int vctr, void (* hndl)(void));
#endif
/*-------------*/
/* End of file */
/*-------------*/
|