summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand/boot
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2020-06-14 16:00:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2020-06-14 16:00:12 +0000
commit00176e7d0b795c1b833163e4d5bcdefbddd2c8e1 (patch)
tree103cbd8f81d29680748b758bc2db5674711912b2 /sys/arch/amd64/stand/boot
parentffc279c008fc0d2caf9156ec2f03011e18a911b8 (diff)
rewrite mdrandom() in C. previously this XOR'd against rdrand if available,
and alternatively XOR'd against TSC. now always run both sequences, and also support rdseed as a third procedure. ok kettenis naddy
Diffstat (limited to 'sys/arch/amd64/stand/boot')
-rw-r--r--sys/arch/amd64/stand/boot/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/stand/boot/Makefile b/sys/arch/amd64/stand/boot/Makefile
index 00a9e19d429..3735f8d626d 100644
--- a/sys/arch/amd64/stand/boot/Makefile
+++ b/sys/arch/amd64/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.45 2020/03/05 16:36:30 otto Exp $
+# $OpenBSD: Makefile,v 1.46 2020/06/14 16:00:08 deraadt Exp $
COPTS?=
MAN?= boot.8
@@ -24,7 +24,7 @@ LDFLAGS+=-melf_i386 -L/usr/libdata
SRCS+= boot.c bootarg.c cmd.c vars.c
.PATH: ${SADIR}/libsa
-SRCS+= gidt.S random_i386.S run_amd64.S
+SRCS+= gidt.S mdrandom.c run_amd64.S
SRCS+= cmd_i386.c dev_i386.c exec_i386.c gateA20.c machdep.c
SRCS+= bioscons.c biosdev.c diskprobe.c memprobe.c time.c
.if ${SOFTRAID:L} == "yes"