Mercurial > hg > Members > taiki > EFIKernel
view boot/loader.c @ 21:e3accb15b1bb default tip
add alloc and loader.
author | taiki |
---|---|
date | Mon, 11 Feb 2013 04:30:42 +0900 |
parents | |
children |
line wrap: on
line source
EFI_STATUS load(fs_interface_t *this, EFI_FILE_HANDLE *fd, CHAR16 *kname) { VOID *buf; UINTN size; UINTN newpos = 0; buf = NULL; read(this ,fd, buf, &size); seek(this ,fd, newpos); return EFI_SUCCESS; }