init/initrd.i
2024-03-19 09:23:21 -05:00

18 lines
375 B
OpenEdge ABL

ifnd INITRD_I
INITRD_I equ 1
; Initialize the initrd reader
xref initrd_init
; Get the start byte for a specific file in the initrd
; Pointer to name in a0
; Number returned in d0, or 0 if not found
xref initrd_find_file
; Reads bytes of a file from the initrd
; Start byte of file in d0
; Offset in d1
; Length in d2
; Buffer in a0
xref initrd_read_bytes
endif