Subversion Repositories Kolibri OS

Rev

Rev 357 | Rev 377 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 357 Rev 363
Line 459... Line 459...
459
           int 0x40
459
           int 0x40
460
           ret
460
           ret
461
endp
461
endp
462
 
462
 
Line -... Line 463...
-
 
463
; description
-
 
464
;  allocate kernel memory and loads the specified file
-
 
465
;
-
 
466
; param
-
 
467
;  file_name= full path to file
-
 
468
;
-
 
469
; retval
-
 
470
;  eax= file image in kernel memory
-
 
471
;  ebx= size of file
-
 
472
;
-
 
473
; warging
-
 
474
;  You mast call kernel_free() to delete each file
-
 
475
;  loaded by the load_file() function
-
 
476
 
463
align 4
477
align 4
464
proc load_file stdcall, file_name:dword
478
proc load_file stdcall, file_name:dword
465
           locals
479
           locals
466
             attr       dd ?
480
             attr       dd ?
467
             flags      dd ?
481
             flags      dd ?