minix/kernel
Tomas Hruby 5b52c5aa02 A reliable way for userspace to check if a msg is from kernel
- IPC_FLG_MSG_FROM_KERNEL status flag is returned to userspace if the
  receive was satisfied by s message which was sent by the kernel on
  behalf of a process. This perfectly reliale information.

- MF_SENDING_FROM_KERNEL flag added to processes to be able to set
  IPC_FLG_MSG_FROM_KERNEL when finishing receive if the receiver
  wasn't ready to receive immediately.

- PM is changed to use this information to confirm that the scheduling
  messages are indeed from the kernel and not faked by a process.

  PM uses sef_receive_status()

- get_work() is removed from PM to make the changes simpler
2010-03-29 11:25:01 +00:00
..
arch/i386 Userspace scheduling 2010-03-29 11:07:20 +00:00
system Userspace scheduling 2010-03-29 11:07:20 +00:00
clock.c Userspace scheduling 2010-03-29 11:07:20 +00:00
clock.h Clock task split 2009-11-06 09:04:15 +00:00
config.h Userspace scheduling 2010-03-29 11:07:20 +00:00
const.h Time accounting based on TSC 2010-02-10 15:36:54 +00:00
debug.c Userspace scheduling 2010-03-29 11:07:20 +00:00
debug.h re-establish kernel assert()s. 2010-03-10 13:00:05 +00:00
glo.h Move archtypes.h, fpu.h, and stackframe.h 2010-03-09 09:41:14 +00:00
interrupt.c Lots of const correctness. 2010-03-27 14:31:00 +00:00
ipc.h Userspace scheduling 2010-03-29 11:07:20 +00:00
kernel.h Time accounting based on TSC 2010-02-10 15:36:54 +00:00
main.c Userspace scheduling 2010-03-29 11:07:20 +00:00
Makefile Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
priv.h New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
proc.c A reliable way for userspace to check if a msg is from kernel 2010-03-29 11:25:01 +00:00
proc.h A reliable way for userspace to check if a msg is from kernel 2010-03-29 11:25:01 +00:00
profile.c Lots of const correctness. 2010-03-27 14:31:00 +00:00
profile.h cprofile not conditional 2009-01-09 21:44:52 +00:00
proto.h Userspace scheduling 2010-03-29 11:07:20 +00:00
start.c Lots of const correctness. 2010-03-27 14:31:00 +00:00
system.c Userspace scheduling 2010-03-29 11:07:20 +00:00
system.h Userspace scheduling 2010-03-29 11:07:20 +00:00
table.c Prioritized NOTIFY messages for reliable asynchonrous delivery of system events. 2010-03-22 23:44:55 +00:00
type.h Miscellaneous code cleanup. 2010-03-22 20:43:06 +00:00
utility.c panic() cleanup. 2010-03-05 15:05:11 +00:00
vm.h intr_disabled() tests removed 2010-02-09 15:29:58 +00:00
watchdog.c no more kprintf - kernel uses libsys printf now, only kputc is special 2010-03-03 15:45:01 +00:00
watchdog.h Lots of const correctness. 2010-03-27 14:31:00 +00:00