update read_file

git-svn-id: svn://kolibrios.org@429 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2007-03-23 03:11:34 +00:00
parent 0e065d64a6
commit e779187e24
3 changed files with 1508 additions and 1503 deletions

View File

@ -452,10 +452,13 @@ proc read_file stdcall,file_name:dword, buffer:dword, off:dword,\
mov byte [buff+4], al mov byte [buff+4], al
mov [name], ebx mov [name], ebx
mov eax, 70 pushad
lea ebx, [cmd] push eax
sub ebx, new_app_base lea eax, [cmd]
int 0x40 sub eax, new_app_base
call file_system_lfn
pop eax
popad
ret ret
endp endp

View File

@ -838,12 +838,12 @@ endg
build_scheduler: build_scheduler:
mov esi,boot_sched_1 ; mov esi,boot_sched_1
call boot_log ; call boot_log
call build_process_gdt_tss_pointer call build_process_gdt_tss_pointer
mov esi,boot_sched_2 ; mov esi,boot_sched_2
call boot_log ; call boot_log
call build_interrupt_table call build_interrupt_table
ret ret

File diff suppressed because it is too large Load Diff