minix/kernel/arch/i386
Tomas Hruby ad9ba944d1 Early address space switch
- switch_address_space() implements a switch of the user address space
  for the destination process

- this makes memory of this process easily accessible, e.g. a pointer
  valid in the userspace can be used with a little complexity to
  access the process's memory

- the switch does not happed only just before we return to userspace,
  however, it happens right after we know which process we are going
  to schedule. This happens before we start processing the misc flags
  of this process so its memory is available

- if the process becomes not runnable while processing the mics flags
  we pick a new process and we switch the address space again which
  introduces possibly a little bit more overhead, however, it is
  hopefully hidden by reducing the overheads when we actually access
  the memory
2010-02-09 15:13:52 +00:00
..
include Fix brackets in kernel/arch/i386/include/archconst.h 2010-01-06 08:46:33 +00:00
apic.c Sys calls are called ipc calls now 2010-02-09 15:13:07 +00:00
apic.h NMI watchdog is an awesome feature for debugging locked up kernels. 2010-01-16 20:53:55 +00:00
apic_asm.h Local APIC 2009-11-16 21:41:44 +00:00
apic_asm.S Local APIC 2009-11-16 21:41:44 +00:00
arch_do_vmctl.c Fixed some type inconsistencies in the kernel. 2010-01-26 12:26:06 +00:00
clock.c Removed unused symbols. 2010-01-25 18:13:48 +00:00
clock.h Removed unused symbols. 2010-01-25 18:13:48 +00:00
do_int86.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
do_iopenable.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
do_readbios.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
do_sdevio.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
exception.c Removed a number of useless #includes 2010-01-26 10:59:01 +00:00
glo.h Local APIC 2009-11-16 21:41:44 +00:00
hw_intr.h Fixed some type inconsistencies in the kernel. 2010-01-26 12:26:06 +00:00
i8259.c Fixed some type inconsistencies in the kernel. 2010-01-26 12:26:06 +00:00
klib386.S Early address space switch 2010-02-09 15:13:52 +00:00
Makefile NMI watchdog is an awesome feature for debugging locked up kernels. 2010-01-16 20:53:55 +00:00
memory.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
mpx386.S Early address space switch 2010-02-09 15:13:52 +00:00
protect.c Sys calls are called ipc calls now 2010-02-09 15:13:07 +00:00
proto.h Sys calls are called ipc calls now 2010-02-09 15:13:07 +00:00
sconst.h NMI watchdog is an awesome feature for debugging locked up kernels. 2010-01-16 20:53:55 +00:00
system.c Early address space switch 2010-02-09 15:13:52 +00:00
watchdog.c Fixed warnings in watchdog.c 2010-01-19 14:47:25 +00:00
watchdog.h NMI watchdog is an awesome feature for debugging locked up kernels. 2010-01-16 20:53:55 +00:00