release 3.12
https://sourceforge.net/projects/elilo/files/elilo/elilo-3.12/
This commit is contained in:
parent
4e87874a03
commit
e351d8fbea
26 changed files with 511 additions and 113 deletions
|
@ -170,7 +170,9 @@ fill_inbuf(void)
|
|||
if (EFI_ERROR(status)) {
|
||||
error("elilo: Read failed");
|
||||
}
|
||||
#ifdef DEBUG_GZIP
|
||||
DBG_PRT((L"%s : read %d bytes of %d bytes\n", LD_NAME, nread, expected));
|
||||
#endif
|
||||
|
||||
insize = nread;
|
||||
inptr = 1;
|
||||
|
@ -530,8 +532,9 @@ flush_window(void)
|
|||
long cnt;
|
||||
|
||||
if (!outcnt) return;
|
||||
|
||||
#ifdef DEBUG_GZIP
|
||||
DBG_PRT((L"%s : flush_window outnct=%d file_offset=%ld\n", LD_NAME, outcnt, file_offset));
|
||||
#endif
|
||||
|
||||
Print(L"%c\b",helicopter[heli_count++%4]);
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ sysdeps_create_boot_params(boot_params_t *bp, CHAR8 *cmdline, memdesc_t *initrd,
|
|||
|
||||
if (get_memmap(&mdesc) == -1) return -1;
|
||||
|
||||
DBG_PRT((L"Got memory map @ 0x%lx (%d bytes)", mdesc.md, mdesc.map_size));
|
||||
DBG_PRT((L"Got memory map @ 0x%lx (%d bytes) with key %d", mdesc.md, mdesc.map_size, mdesc.cookie));
|
||||
|
||||
bp->efi_systab = (UINTN)systab;
|
||||
bp->efi_memmap = (UINTN)mdesc.md;
|
||||
|
@ -147,7 +147,7 @@ flush_dcache (CHAR8 *addr, UINT64 len)
|
|||
/* Cache line length is at least 32. */
|
||||
UINT64 a = (UINT64)addr & ~0x1f;
|
||||
|
||||
VERB_PRT(3, Print(L"Flush 0x%lx-", a));
|
||||
DBG_PRT((L"Flush 0x%lx-", a));
|
||||
|
||||
/* Flush data. */
|
||||
for (len = (len + 31) & ~0x1f; len > 0; len -= 0x20, a += 0x20)
|
||||
|
@ -155,5 +155,5 @@ flush_dcache (CHAR8 *addr, UINT64 len)
|
|||
/* Sync and serialize. Maybe extra. */
|
||||
asm volatile (";; sync.i;; srlz.i;;");
|
||||
|
||||
VERB_PRT(3, Print(L"0x%lx\n", a));
|
||||
DBG_PRT((L"0x%lx\n", a));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue