Applied Jack Burton's patch to fix the boot problems on many systems:
find_real_mem_size must not be called with interrupts turned off. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7609 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -94,13 +94,13 @@ unreal:
|
|||||||
call disable_floppy_motor
|
call disable_floppy_motor
|
||||||
mov si,okmsg
|
mov si,okmsg
|
||||||
call print
|
call print
|
||||||
cli
|
|
||||||
|
|
||||||
; uncomment the next two lines to enable the VESA mode switch
|
; uncomment the next two lines to enable the VESA mode switch
|
||||||
; call enable_vesa
|
; call enable_vesa
|
||||||
; mov [in_vesa],al
|
; mov [in_vesa],al
|
||||||
|
|
||||||
call find_mem_size_real
|
call find_mem_size_real
|
||||||
|
cli
|
||||||
|
|
||||||
mov ebx,[dword 0x100074] ; load dword at rel. address 0x74 from read-destination-buffer
|
mov ebx,[dword 0x100074] ; load dword at rel. address 0x74 from read-destination-buffer
|
||||||
add ebx,0x101000 ; for stage2 entry
|
add ebx,0x101000 ; for stage2 entry
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user