Link up the interrupt frame to the systimer API. Use PGEX_U to indicate
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 14 Jan 2007 20:07:15 +0000 (20:07 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 14 Jan 2007 20:07:15 +0000 (20:07 +0000)
commit4b4861839bfa72114ad6172ee097f696af88d0ba
tree32a4925b75ba210929ccfd805b8e8035ff7444a9
parentee44a32d351af67c0a7d2c64f2e4314b1adca838
Link up the interrupt frame to the systimer API.  Use PGEX_U to indicate
a user frame and adjust CLKF_USERMODE for the virtual kernel.  This allows
the stat clock in the virtual kernel to account for user vs system time
(instead of just counting it all as system time).

Consolidate other special virtual kernel and signal flags in tf_xflags and
name them the same (FPEX_FAULT -> PGEX_FPFAULT, and add PGEX_MAILBOX)

Implement PGEX_MAILBOX for signal frames.  On signal return this flag causes
P_MAILBOX to be set in order to maintain interlock semantics with mailbox
signals.
sys/cpu/i386/include/cpu.h
sys/cpu/i386/include/frame.h
sys/cpu/i386/include/pmap.h
sys/platform/pc32/i386/machdep.c
sys/platform/pc32/i386/trap.c
sys/platform/pc32/include/cpu.h [new file with mode: 0644]
sys/platform/vkernel/i386/cpu_regs.c
sys/platform/vkernel/i386/trap.c
sys/platform/vkernel/include/cpu.h [new file with mode: 0644]
sys/platform/vkernel/platform/systimer.c