style fixes, no binary changes (style checker was sick for some time)

git-svn-id: svn://kolibrios.org@3711 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse 2013-06-26 23:35:43 +00:00
parent 99a5913d54
commit 65d0cef44b
26 changed files with 1282 additions and 1282 deletions

View File

@ -160,14 +160,14 @@ hd_read_pio:
out dx, al ; Sector Count Current Sector count (7:0) out dx, al ; Sector Count Current Sector count (7:0)
inc edx inc edx
mov eax, [esp+4+4] mov eax, [esp+4+4]
rol eax,8 rol eax, 8
out dx, al ; LBA Low Previous LBA (31:24) out dx, al ; LBA Low Previous LBA (31:24)
xor eax,eax ; because only 32 bit cache xor eax, eax; because only 32 bit cache
inc edx inc edx
out dx, al ; LBA Mid Previous LBA (39:32) out dx, al ; LBA Mid Previous LBA (39:32)
inc edx inc edx
out dx, al ; LBA High Previous LBA (47:40) out dx, al ; LBA High Previous LBA (47:40)
sub edx,2 sub edx, 2
mov eax, [esp+4+4] mov eax, [esp+4+4]
out dx, al ; LBA Low Current LBA (7:0) out dx, al ; LBA Low Current LBA (7:0)
shr eax, 8 shr eax, 8
@ -354,14 +354,14 @@ cache_write_pio:
out dx, al ; Sector Count Current Sector count (7:0) out dx, al ; Sector Count Current Sector count (7:0)
inc edx inc edx
mov eax, [esi] mov eax, [esi]
rol eax,8 rol eax, 8
out dx, al ; LBA Low Previous LBA (31:24) out dx, al ; LBA Low Previous LBA (31:24)
xor eax,eax ; because only 32 bit cache xor eax, eax; because only 32 bit cache
inc edx inc edx
out dx, al ; LBA Mid Previous LBA (39:32) out dx, al ; LBA Mid Previous LBA (39:32)
inc edx inc edx
out dx, al ; LBA High Previous LBA (47:40) out dx, al ; LBA High Previous LBA (47:40)
sub edx,2 sub edx, 2
mov eax, [esi] mov eax, [esi]
out dx, al ; LBA Low Current LBA (7:0) out dx, al ; LBA Low Current LBA (7:0)
shr eax, 8 shr eax, 8

View File

@ -387,7 +387,7 @@ sayerr:
push 0 push 0
pop es pop es
xor ax,ax xor ax, ax
and word [es:BOOT_IDE_BASE_ADDR], ax ;0 and word [es:BOOT_IDE_BASE_ADDR], ax ;0
and word [es:BOOT_IDE_BAR0_16], ax ;0 and word [es:BOOT_IDE_BAR0_16], ax ;0
and word [es:BOOT_IDE_BAR1_16], ax ;0 and word [es:BOOT_IDE_BAR1_16], ax ;0

View File

@ -67,13 +67,13 @@ FindHDD_1:
Print_Device_Name: Print_Device_Name:
pushad pushad
pushfd pushfd
mov esi,Sector512+27*2 mov esi, Sector512+27*2
mov edi,dev_name mov edi, dev_name
mov ecx,20 mov ecx, 20
cld cld
@@: @@:
lodsw lodsw
xchg ah,al xchg ah, al
stosw stosw
loop @b loop @b
popfd popfd

View File

@ -17,7 +17,7 @@ $Revision$
search_partitions_ide0: search_partitions_ide0:
test [DRIVE_DATA+1], byte 0x40 test [DRIVE_DATA+1], byte 0x40
jz search_partitions_ide1 jz search_partitions_ide1
mov eax,[hd_address_table] mov eax, [hd_address_table]
mov [hdbase], eax ;0x1f0 mov [hdbase], eax ;0x1f0
mov [hdid], 0x0 mov [hdid], 0x0
mov [hdpos], 1 mov [hdpos], 1
@ -40,7 +40,7 @@ $Revision$
search_partitions_ide1: search_partitions_ide1:
test [DRIVE_DATA+1], byte 0x10 test [DRIVE_DATA+1], byte 0x10
jz search_partitions_ide2 jz search_partitions_ide2
mov eax,[hd_address_table] mov eax, [hd_address_table]
mov [hdbase], eax ;0x1f0 mov [hdbase], eax ;0x1f0
mov [hdid], 0x10 mov [hdid], 0x10
mov [hdpos], 2 mov [hdpos], 2
@ -63,7 +63,7 @@ $Revision$
search_partitions_ide2: search_partitions_ide2:
test [DRIVE_DATA+1], byte 0x4 test [DRIVE_DATA+1], byte 0x4
jz search_partitions_ide3 jz search_partitions_ide3
mov eax,[hd_address_table+16] mov eax, [hd_address_table+16]
mov [hdbase], eax ;0x170 mov [hdbase], eax ;0x170
mov [hdid], 0x0 mov [hdid], 0x0
mov [hdpos], 3 mov [hdpos], 3
@ -86,7 +86,7 @@ $Revision$
search_partitions_ide3: search_partitions_ide3:
test [DRIVE_DATA+1], byte 0x1 test [DRIVE_DATA+1], byte 0x1
jz end_search_partitions_ide jz end_search_partitions_ide
mov eax,[hd_address_table+16] mov eax, [hd_address_table+16]
mov [hdbase], eax ;0x170 mov [hdbase], eax ;0x170
mov [hdid], 0x10 mov [hdid], 0x10
mov [hdpos], 4 mov [hdpos], 4

View File

@ -525,28 +525,28 @@ fs_NumFloppyServices = ($ - fs_FloppyServices)/4
fs_OnHd0: fs_OnHd0:
call reserve_hd1 call reserve_hd1
mov eax,[hd_address_table] mov eax, [hd_address_table]
mov [hdbase], eax ;0x1F0 mov [hdbase], eax ;0x1F0
mov [hdid], 0 mov [hdid], 0
push 1 push 1
jmp fs_OnHd jmp fs_OnHd
fs_OnHd1: fs_OnHd1:
call reserve_hd1 call reserve_hd1
mov eax,[hd_address_table] mov eax, [hd_address_table]
mov [hdbase], eax ;0x1F0 mov [hdbase], eax ;0x1F0
mov [hdid], 0x10 mov [hdid], 0x10
push 2 push 2
jmp fs_OnHd jmp fs_OnHd
fs_OnHd2: fs_OnHd2:
call reserve_hd1 call reserve_hd1
mov eax,[hd_address_table+16] mov eax, [hd_address_table+16]
mov [hdbase], eax ;0x170 mov [hdbase], eax ;0x170
mov [hdid], 0 mov [hdid], 0
push 3 push 3
jmp fs_OnHd jmp fs_OnHd
fs_OnHd3: fs_OnHd3:
call reserve_hd1 call reserve_hd1
mov eax,[hd_address_table+16] mov eax, [hd_address_table+16]
mov [hdbase], eax ;0x170 mov [hdbase], eax ;0x170
mov [hdid], 0x10 mov [hdid], 0x10
push 4 push 4
@ -948,7 +948,7 @@ process_replace_file_name:
mov ebp, [full_file_name_table] mov ebp, [full_file_name_table]
xor edi, edi xor edi, edi
.loop: .loop:
cmp edi,[full_file_name_table.size] cmp edi, [full_file_name_table.size]
jae .notfound jae .notfound
push esi edi push esi edi
shl edi, 7 ; edi*128 shl edi, 7 ; edi*128