More Machine-dependant/Machine-independant code and header file separation.
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 7 Nov 2006 20:48:15 +0000 (20:48 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 7 Nov 2006 20:48:15 +0000 (20:48 +0000)
commit527fddf74a9ddeaa8faf4346298054f6e643028a
tree9e294e43a09dd3fff3a1d716601e93e3256aaf3f
parent232fee3739329a6df43a93565f1f1cfd91aec548
More Machine-dependant/Machine-independant code and header file separation.
Numerous machine interfaces have MI APIs and should be declared in MI headers
even though the routines are defined in MD sources.

* Improve rdtsc()'s API so it can be used in MI code.
* Add an explicit enable in machine/${MACHINE}/Makefile.inc for syscons/apm.
* Abstract <machine/reg.h> and provide a MI API for it via <sys/reg.h>.
* Move additional MI API calls from <machine/md_var.h> to <sys/systm.h>.
22 files changed:
sys/cpu/i386/include/cpufunc.h
sys/dev/misc/syscons/Makefile
sys/emulation/linux/i386/linprocfs/linprocfs.h
sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c
sys/emulation/linux/i386/linux_ptrace.c
sys/kern/kern_exec.c
sys/kern/kern_ktr.c
sys/kern/sys_process.c
sys/platform/pc32/Makefile.inc
sys/platform/pc32/i386/db_trace.c
sys/platform/pc32/i386/machdep.c
sys/platform/pc32/i386/math_emulate.c
sys/platform/pc32/i386/procfs_machdep.c
sys/platform/pc32/i386/tls.c
sys/platform/pc32/include/md_var.h
sys/sys/procfs.h
sys/sys/reg.h
sys/sys/systm.h
sys/vfs/procfs/procfs_dbregs.c
sys/vfs/procfs/procfs_fpregs.c
sys/vfs/procfs/procfs_regs.c
sys/vfs/procfs/procfs_vnops.c