mirror of https://github.com/FDOS/kernel.git
Replaced setvec macro by a function.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@920 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
5a6e1845a8
commit
99c40acc80
|
@ -100,7 +100,7 @@ char * ASMPASCAL strchr(const char *s, int ch);
|
|||
extern BYTE DosLoadedInHMA;
|
||||
void MoveKernel(unsigned NewKernelSegment);
|
||||
|
||||
#define setvec(n, isr) (void)(*(intvec FAR *)MK_FP(0,4 * (n)) = (isr))
|
||||
void setvec(unsigned char intno, intvec vector);
|
||||
#define getvec(n) (*(intvec FAR *)MK_FP(0,4 * (n)))
|
||||
|
||||
#define GLOBAL extern
|
||||
|
|
Loading…
Reference in New Issue