Link up the interrupt frame to the systimer API. Use PGEX_U to indicate
commit89105066f571331534f65ba54314b58a4bfc3866
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 14 Jan 2007 20:07:15 +0000 (14 20:07 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 14 Jan 2007 20:07:15 +0000 (14 20:07 +0000)
tree6d0f4bbd09ed12a8513c0147c87d7d1f8cae4a98
parent33976d066dd831648b7114444571880a44210b4c
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