minix/kernel/arch/i386
Tomas Hruby 5e57818431 copy_msg_from_user() and copy_msg_to_user()
- copies a mesage from/to userspace without need of translating
  addresses

- the assumption is that the address space is installed, i.e. ldt and
  cr3 are loaded correctly

- if a pagefault or a general protection occurs while copying from
  userland to kernel (or vice versa) and error is returned which gives
  the caller a chance to respond in a proper way

- error happens _only_ because of a wrong user pointer if the function
  is used correctly

- if the prerequisites of the function do no hold, the function will
  most likely fail as the user address becomes random
2010-02-09 15:15:45 +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 copy_msg_from_user() and copy_msg_to_user() 2010-02-09 15:15:45 +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 copy_msg_from_user() and copy_msg_to_user() 2010-02-09 15:15:45 +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 copy_msg_from_user() and copy_msg_to_user() 2010-02-09 15:15:45 +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