mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[BOOTSECTOR]
Fix a typo in a comment svn path=/trunk/; revision=52459
This commit is contained in:
parent
54d5d9924b
commit
efd8902582
1 changed files with 3 additions and 3 deletions
|
@ -207,12 +207,12 @@ SearchRootDirSector:
|
|||
FoundFreeLoader:
|
||||
// We found freeldr.sys on the disk
|
||||
// so we need to load the first 512
|
||||
// bytes of it to 0000:8000
|
||||
// bytes of it to 0000:F800
|
||||
// ES:DI has dir entry (ES:DI == 07E0:XXXX)
|
||||
mov ax, word ptr es:[di + HEX(1a)] // Get start cluster
|
||||
push ax // Save start cluster
|
||||
push FREELDR_BASE / 16 // Put load segment on the stack and load it
|
||||
pop es // Into ES so that we load the cluster at 0000:8000
|
||||
pop es // Into ES so that we load the cluster at 0000:F800
|
||||
call ReadCluster // Read the cluster
|
||||
pop ax // Restore start cluster of FreeLoader
|
||||
|
||||
|
@ -224,7 +224,7 @@ FoundFreeLoader:
|
|||
|
||||
// Now AX has start cluster of FreeLoader and we
|
||||
// have loaded the helper code in the first 512 bytes
|
||||
// of FreeLoader to 0000:8000. Now transfer control
|
||||
// of FreeLoader to 0000:F800. Now transfer control
|
||||
// to the helper code. Skip the first three bytes
|
||||
// because they contain a jump instruction to skip
|
||||
// over the helper code in the FreeLoader image.
|
||||
|
|
Loading…
Reference in a new issue