Ignore:
Timestamp:
Apr 8, 2017, 12:26:49 AM (8 years ago)
Author:
Ben Rietbroek
Message:

Moved LVM sector validation funtion to 'lvm' module [v1.1.1-testing]

CAUTION:
This is a testbuild !
AirBoot uses the BIOS to access disks and a small coding error can trash
partition tables or other vital disk structures. You are advised to make
backups of TRACK0 and EBRs before using this testbuild. More info at:
https://rousseaux.github.io/netlabs.air-boot/pdf/AirBoot-v1.1.0-manual.pdf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootcode/regular/driveio.asm

    r95 r98  
    10801080
    10811081
    1082 ; See if a LVM-sector is valid.
    1083 ; In  : si, pointer to sector
    1084 ; Out : CY if valid LVM sector, NC if not
    1085 DriveIO_LVMSectorValid           Proc  Near
    1086         pusha
    1087 
    1088         call    LVM_CheckSectorSignature
    1089         ; NC if no signature found
    1090         jnc     DriveIO_LVMSectorValid_End
    1091 
    1092         call    LVM_CheckSectorCRC
    1093         ; Force valid !!!
    1094         stc
    1095 
    1096     DriveIO_LVMSectorValid_End:
    1097         popa
    1098         ret
    1099 DriveIO_LVMSectorValid           EndP
    11001082
    11011083; ------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.