Chameleon

Chameleon Commit Details

Date:2011-07-18 16:52:50 (8 years 15 hours ago)
Author:Evan Lojewski
Commit:1173
Parents: 1172
Message:Added recent changes from http://forum.voodooprojects.org/index.php/topic,2091.msg10339/boardse en.html#new
Changes:
M/trunk/i386/boot0/boot0md.s

File differences

trunk/i386/boot0/boot0md.s
343343
344344
345345
346
347346
348
349
347
348
350349
351
352
353
354
355
356
357
358
350
359351
360352
361353
362354
363
364355
365
356
366357
367358
368
369
370
371
372
373
374
375
359
376360
377361
378362
jne .Pass2
.Pass1:
%if CONFIG_BOOT0_HFSFIRST
cmp BYTE [si + part.type], kPartTypeHFS; In pass 1 we're going to find a HFS+ partition
; equipped with boot1h in its boot record
; regardless if it's active or not.
; equipped with boot1h in its boot record
; regardless if it's active or not.
jne .continue
movdh, 1 ; Argument for loadBootSector to check HFS+ partition signature.
%else
cmp BYTE [si + part.bootid], kPartActive; In pass 1 we are walking on the standard path
; by trying to hop on the active partition.
jne .continue
xor dh, dh ; Argument for loadBootSector to skip HFS+ partition
; signature check.
%endif
movdh, 1 ; Argument for loadBootSector to check HFS+ partition signature.
jmp .tryToBoot
.Pass2:
%if CONFIG_BOOT0_HFSFIRST
cmp BYTE [si + part.bootid], kPartActive; In pass 2 we are walking on the standard path
; by trying to hop on the active partition.
; by trying to hop on the active partition.
jne .continue
xordh, dh ; Argument for loadBootSector to skip HFS+ partition
; signature check.
%else
cmp BYTE [si + part.type], kPartTypeHFS; In pass 2 we're going to find a HFS+ partition
; equipped with boot1h in its boot record
; regardless if it's active or not.
jne .continue
mov dh, 1 ; Argument for loadBootSector to check HFS+ partition signature.
%endif
; signature check.
DebugChar('*')

Archive Download the corresponding diff file

Revision: 1173