mirror of
https://github.com/FDOS/kernel.git
synced 2025-04-08 17:15:17 +02:00
main: note that we want to set int 31h segment to DOS DS
This commit does not change the behaviour of the code as it already did the right thing. However, it notes that that should happen. (This is DR DOS compatible. For example, SHSUCDX depends on DR DOS setting this segment so that it can keep track of the DOS DS across it being relocated. We do not yet relocate it but keeping a reference here is still useful.)
This commit is contained in:
parent
3b6d8362b3
commit
b7345d9165
@ -270,7 +270,7 @@ STATIC void setup_int_vectors(void)
|
||||
|
||||
/* install default handlers */
|
||||
for (i = 0x23; i <= 0x3f; i++)
|
||||
setvec(i, empty_handler);
|
||||
setvec(i, empty_handler); /* note: int 31h segment should be DOS DS */
|
||||
HaltCpuWhileIdle = 0;
|
||||
for (pvec = vectors; pvec < vectors + (sizeof vectors/sizeof *pvec); pvec++)
|
||||
setvec(pvec->intno, (intvec)MK_FP(FP_SEG(empty_handler), pvec->handleroff));
|
||||
|
Loading…
x
Reference in New Issue
Block a user