diff options
author | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2021-03-17 05:41:35 +0000 |
---|---|---|
committer | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2021-03-17 05:41:35 +0000 |
commit | aa74bae70eee74b0c613425ef5d018c3b378bb42 (patch) | |
tree | e68da89755b8918a8265549f6afb52cc8cc055c5 /sys/arch/amd64/stand/efiboot/conf.c | |
parent | 72f165bcd4d46206d9526acc629912b0e0d13d5a (diff) |
Always use an allocated buffer for {Read,Write}Blocks() to make
efid_io() simpler. Also fixes the problem on some machines when boot
from CD-ROM. It happened because the previous version passed
unaligned pointers to the functions even if it is restricted by the
IoAlign property of the media. idea from kettenis, work with asou
ok kettenis
Diffstat (limited to 'sys/arch/amd64/stand/efiboot/conf.c')
-rw-r--r-- | sys/arch/amd64/stand/efiboot/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/stand/efiboot/conf.c b/sys/arch/amd64/stand/efiboot/conf.c index f6eb1e2b8e2..3304a443f5b 100644 --- a/sys/arch/amd64/stand/efiboot/conf.c +++ b/sys/arch/amd64/stand/efiboot/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.33 2020/12/09 18:10:18 krw Exp $ */ +/* $OpenBSD: conf.c,v 1.34 2021/03/17 05:41:34 yasuoka Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -40,7 +40,7 @@ #include "efidev.h" #include "efipxe.h" -const char version[] = "3.56"; +const char version[] = "3.57"; #ifdef EFI_DEBUG int debug = 0; |