mirror of https://github.com/FDOS/kernel.git
Move memset up a little else it would overwrite too much.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@881 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
68c3f9ad13
commit
237016c1d0
|
@ -79,6 +79,9 @@ VOID ASMCFUNC FreeDOSmain(void)
|
||||||
DosTextSeg = (__segment) & prn_dev;
|
DosTextSeg = (__segment) & prn_dev;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* clear the Init BSS area (what normally the RTL does */
|
||||||
|
memset(_ib_start, 0, _ib_end - _ib_start);
|
||||||
|
|
||||||
/* if the kernel has been UPX'ed,
|
/* if the kernel has been UPX'ed,
|
||||||
CONFIG info is stored at 50:e2 ..fc
|
CONFIG info is stored at 50:e2 ..fc
|
||||||
and the bootdrive (passed from BIOS)
|
and the bootdrive (passed from BIOS)
|
||||||
|
@ -112,11 +115,6 @@ VOID ASMCFUNC FreeDOSmain(void)
|
||||||
|
|
||||||
CheckContinueBootFromHarddisk();
|
CheckContinueBootFromHarddisk();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* clear the Init BSS area (what normally the RTL does */
|
|
||||||
memset(_ib_start, 0, _ib_end - _ib_start);
|
|
||||||
|
|
||||||
signon();
|
signon();
|
||||||
init_kernel();
|
init_kernel();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue