mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-21 04:44:29 +02:00
Fix compilation with TC2 (no // comments; a global variable needs ASM)
This commit is contained in:
parent
33d707ba7f
commit
fdac78cc67
@ -414,8 +414,9 @@ void PreConfig2(void)
|
|||||||
if (ebda_size) /* move the Extended BIOS Data Area from top of RAM here */
|
if (ebda_size) /* move the Extended BIOS Data Area from top of RAM here */
|
||||||
movebda(ebda_size, FP_SEG(KernelAlloc(ebda_size, 'I', 0)));
|
movebda(ebda_size, FP_SEG(KernelAlloc(ebda_size, 'I', 0)));
|
||||||
|
|
||||||
// if (UmbState == 2)
|
/* if (UmbState == 2)
|
||||||
// umb_init();
|
umb_init();
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Do third pass initialization. */
|
/* Do third pass initialization. */
|
||||||
|
@ -263,7 +263,7 @@ extern BYTE DOSFAR ASM _HMATextAvailable, /* first byte of available CODE are
|
|||||||
FAR ASM _HMATextEnd[], DOSFAR ASM break_ena; /* break enabled flag */
|
FAR ASM _HMATextEnd[], DOSFAR ASM break_ena; /* break enabled flag */
|
||||||
extern BYTE DOSFAR ASM _InitTextStart[], /* first available byte of ram */
|
extern BYTE DOSFAR ASM _InitTextStart[], /* first available byte of ram */
|
||||||
DOSFAR ASM _InitTextEnd[],
|
DOSFAR ASM _InitTextEnd[],
|
||||||
DOSFAR ReturnAnyDosVersionExpected,
|
DOSFAR ASM ReturnAnyDosVersionExpected,
|
||||||
DOSFAR ASM HaltCpuWhileIdle;
|
DOSFAR ASM HaltCpuWhileIdle;
|
||||||
|
|
||||||
extern BYTE FAR ASM internal_data[];
|
extern BYTE FAR ASM internal_data[];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user