summaryrefslogtreecommitdiffstats
path: root/sys/compat/x86bios/x86bios.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/x86bios/x86bios.c')
-rw-r--r--sys/compat/x86bios/x86bios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/x86bios/x86bios.c b/sys/compat/x86bios/x86bios.c
index cb8b85e..22f1b93 100644
--- a/sys/compat/x86bios/x86bios.c
+++ b/sys/compat/x86bios/x86bios.c
@@ -353,14 +353,14 @@ x86bios_emu_get_intr(struct x86emu *emu, int intno)
}
void *
-x86bios_alloc(uint32_t *offset, size_t size)
+x86bios_alloc(uint32_t *offset, size_t size, int flags)
{
void *vaddr;
if (offset == NULL || size == 0)
return (NULL);
- vaddr = contigmalloc(size, M_DEVBUF, M_NOWAIT, X86BIOS_RAM_BASE,
+ vaddr = contigmalloc(size, M_DEVBUF, flags, X86BIOS_RAM_BASE,
x86bios_rom_phys, X86BIOS_PAGE_SIZE, 0);
if (vaddr != NULL) {
*offset = vtophys(vaddr);
OpenPOWER on IntegriCloud