diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2018-07-10 08:40:21 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2018-07-10 08:40:21 +0000 |
commit | 7a25094897c996a44fa6ce83013aa6460b1104de (patch) | |
tree | 9d6d2771b4494d9b4ad4f3c2e292d17727b106bc /usr.sbin/vmd/vm.c | |
parent | 58cd5ce4d4afd7a2b88e9e85a826bf09912f4e88 (diff) |
vmd(8): route ELCR handler to the right function
Diffstat (limited to 'usr.sbin/vmd/vm.c')
-rw-r--r-- | usr.sbin/vmd/vm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/vmd/vm.c b/usr.sbin/vmd/vm.c index aeb85a48058..2f57d769ae9 100644 --- a/usr.sbin/vmd/vm.c +++ b/usr.sbin/vmd/vm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm.c,v 1.35 2018/07/09 16:07:55 mlarkin Exp $ */ +/* $OpenBSD: vm.c,v 1.36 2018/07/10 08:40:20 mlarkin Exp $ */ /* * Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org> @@ -935,8 +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; + ioports_map[ELCR0] = vcpu_exit_elcr; + ioports_map[ELCR1] = vcpu_exit_elcr; /* Init ns8250 UART */ ns8250_init(con_fd, vcp->vcp_id); |