Changeset 226 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc


Ignore:
Timestamp:
Jan 28, 2012, 3:08:47 AM (13 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Moved .bSerialPortAndBaud out of the main DPT into a an attached struc DPT_SERIAL, used by the serial port code only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc

    r200 r226  
    1212    .bFlagsHigh                 resb    1
    1313    .bIdevarsOffset             resb    1   ; Offset to IDEVARS for this drive
    14 %ifdef MODULE_SERIAL
    15     .bSerialPortAndBaud         resb    1   ; Packed I/O port and baud rate for serial drives
    16 %else
    17                                 resb    1   ; without serial port support, alignment byte
    18 %endif
     14                                resb    1   ; alignment byte
    1915
    2016    ; IDE Drive related
     
    3531    .bMaxBlock                  resb    1   ; Maximum block size, 0 = block mode not supported
    3632endstruc
     33
     34%ifdef MODULE_SERIAL
     35; DPT for Serial devices
     36struc DPT_SERIAL
     37    .dpt                        resb    DPT_size
     38
     39    .bSerialPortAndBaud         resb    1   ; Packed I/O port and baud rate for serial drives
     40                                resb    1   ; unused alignment
     41endstruc
     42%endif
    3743
    3844LARGEST_DPT_SIZE                EQU     DPT_ATA_size
Note: See TracChangeset for help on using the changeset viewer.