diff options
author | hpa <hpa> | 2002-04-28 05:40:11 +0000 |
---|---|---|
committer | hpa <hpa> | 2002-04-28 05:40:11 +0000 |
commit | bdb0fcf1acccec785084bfe0b3802d4674638b64 (patch) | |
tree | bfe06e9b601affd91f3e028a3e274dc05a668c13 /runkernel.inc | |
parent | c0cd85e0e93e2390f3f33169c78e4ed0033e5ceb (diff) | |
download | syslinux-bdb0fcf1acccec785084bfe0b3802d4674638b64.tar.gz |
Factor out CPU initialization and some common configuration intosyslinux-1.73-pre6
separate files; fix bcopy bugs.
Diffstat (limited to 'runkernel.inc')
-rw-r--r-- | runkernel.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runkernel.inc b/runkernel.inc index 1240444c..165af987 100644 --- a/runkernel.inc +++ b/runkernel.inc @@ -318,13 +318,14 @@ read_kernel: ; Move the stuff beyond the setup code to high memory at 100000h ; movzx esi,word [SetupSecs] ; Setup sectors - inc esi ; plus 1 boot sector - shl esi,9 ; Convert to bytes + inc si ; plus 1 boot sector + shl si,9 ; Convert to bytes mov ecx,8000h ; 32K sub ecx,esi ; Number of bytes to copy push ecx add esi,(real_mode_seg << 4) ; Pointer to source mov edi,100000h ; Copy to address 100000h + call bcopy ; Transfer to high memory ; On exit EDI -> where to load the rest |