diff options
author | mlarkin <mlarkin@openbsd.org> | 2018-04-27 12:15:10 +0000 |
---|---|---|
committer | mlarkin <mlarkin@openbsd.org> | 2018-04-27 12:15:10 +0000 |
commit | d326e819e1ac794eb806336d0461ec86ade07f89 (patch) | |
tree | 0810b1fa2d2c519fb878e1837f0d5cfaa9ae8a49 /usr.sbin/vmd/vm.c | |
parent | test with pledgepath(NULL,NULL) instead of pledge activating things (diff) | |
download | wireguard-openbsd-d326e819e1ac794eb806336d0461ec86ade07f89.tar.xz wireguard-openbsd-d326e819e1ac794eb806336d0461ec86ade07f89.zip |
vmd(8): implement vmd side of ELCR registers
ok guenther
Diffstat (limited to 'usr.sbin/vmd/vm.c')
-rw-r--r-- | usr.sbin/vmd/vm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/vmd/vm.c b/usr.sbin/vmd/vm.c index 18327eb3cdb..a240623752f 100644 --- a/usr.sbin/vmd/vm.c +++ b/usr.sbin/vmd/vm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm.c,v 1.32 2018/04/26 17:10:10 mlarkin Exp $ */ +/* $OpenBSD: vm.c,v 1.33 2018/04/27 12:15:10 mlarkin Exp $ */ /* * Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org> @@ -935,6 +935,8 @@ init_emulated_hw(struct vmop_create_params *vmc, int child_cdrom, ioports_map[IO_ICU1 + 1] = vcpu_exit_i8259; ioports_map[IO_ICU2] = vcpu_exit_i8259; ioports_map[IO_ICU2 + 1] = vcpu_exit_i8259; + ioports_map[ELCR0] = vcpu_exit_i8259; + ioports_map[ELCR1] = vcpu_exit_i8259; /* Init ns8250 UART */ ns8250_init(con_fd, vcp->vcp_id); |