diff options
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386/io_perm.c | 2 | ||||
-rw-r--r-- | i386/i386/mp_desc.c | 1 | ||||
-rw-r--r-- | i386/i386/mp_desc.h | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/i386/i386/io_perm.c b/i386/i386/io_perm.c index 3a03408..df25cc6 100644 --- a/i386/i386/io_perm.c +++ b/i386/i386/io_perm.c @@ -209,7 +209,7 @@ i386_io_perm_create (ipc_port_t master_port, io_port_t from, io_port_t to, ipc_port_t notify; notify = ipc_port_make_sonce(io_perm->port); - ip_lock(device->port); + ip_lock(io_perm->port); ipc_port_nsrequest(io_perm->port, 1, notify, ¬ify); assert(notify == IP_NULL); diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c index e1ac9c3..300ea7a 100644 --- a/i386/i386/mp_desc.c +++ b/i386/i386/mp_desc.c @@ -38,6 +38,7 @@ #include <machine/ktss.h> #include <machine/tss.h> #include <machine/io_perm.h> +#include <machine/vm_param.h> /* * The i386 needs an interrupt stack to keep the PCB stack from being diff --git a/i386/i386/mp_desc.h b/i386/i386/mp_desc.h index 8ae272b..03d7194 100644 --- a/i386/i386/mp_desc.h +++ b/i386/i386/mp_desc.h @@ -40,7 +40,7 @@ #include "seg.h" #include "tss.h" -#include "idt.h" +#include <i386at/idt.h> #include "gdt.h" #include "ldt.h" |