VirtualBox

Ignore:
Timestamp:
Aug 28, 2013 11:57:34 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88503
Message:

BIOS: Trailing spaces, begone!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/scsi.c

    r46241 r48123  
    9494    while (status & VBSCSI_BUSY);
    9595
    96    
     96
    9797    sizes = ((length >> 12) & 0xF0) | cbCDB;
    9898    outb(io_base + VBSCSI_REGISTER_COMMAND, target_id);                 /* Write the target ID. */
     
    100100    outb(io_base + VBSCSI_REGISTER_COMMAND, sizes);                     /* Write CDB size and top bufsize bits. */
    101101    outb(io_base + VBSCSI_REGISTER_COMMAND, length);                    /* Write the buffer size. */
    102     outb(io_base + VBSCSI_REGISTER_COMMAND, (length >> 8));   
     102    outb(io_base + VBSCSI_REGISTER_COMMAND, (length >> 8));
    103103    for (i = 0; i < cbCDB; i++)                                         /* Write the CDB. */
    104104        outb(io_base + VBSCSI_REGISTER_COMMAND, aCDB[i]);
     
    136136    while (status & VBSCSI_BUSY);
    137137
    138    
     138
    139139    sizes = ((length >> 12) & 0xF0) | cbCDB;
    140140    outb(io_base + VBSCSI_REGISTER_COMMAND, target_id);                 /* Write the target ID. */
     
    171171 *
    172172 * @returns status code.
    173  * @param   bios_dsk    Pointer to disk request packet (in the 
     173 * @param   bios_dsk    Pointer to disk request packet (in the
    174174 *                      EBDA).
    175175 */
     
    203203             count, device_id, bios_dsk->scsidev[device_id].target_id);
    204204
    205     rc = scsi_cmd_data_in(io_base, target_id, (void __far *)&cdb, 10, 
     205    rc = scsi_cmd_data_in(io_base, target_id, (void __far *)&cdb, 10,
    206206                          bios_dsk->drqp.buffer, (count * 512L));
    207207
     
    220220 *
    221221 * @returns status code.
    222  * @param   bios_dsk    Pointer to disk request packet (in the 
     222 * @param   bios_dsk    Pointer to disk request packet (in the
    223223 *                      EBDA).
    224224 */
     
    274274 *
    275275 * @returns status code.
    276  * @param   bios_dsk    Pointer to disk request packet (in the 
     276 * @param   bios_dsk    Pointer to disk request packet (in the
    277277 *                      EBDA).
    278278 */
    279 uint16_t scsi_cmd_packet(uint16_t device_id, uint8_t cmdlen, char __far *cmdbuf, 
     279uint16_t scsi_cmd_packet(uint16_t device_id, uint8_t cmdlen, char __far *cmdbuf,
    280280                         uint16_t before, uint32_t length, uint8_t inout, char __far *buffer)
    281281{
     
    440440                }
    441441
    442                 /* We need to calculate the geometry for the disk. From 
    443                  * the BusLogic driver in the Linux kernel. 
     442                /* We need to calculate the geometry for the disk. From
     443                 * the BusLogic driver in the Linux kernel.
    444444                 */
    445445                if (sectors >= (uint32_t)4 * 1024 * 1024)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette