CURTHD now defines in globals.h

This commit is contained in:
mjacob 2000-10-23 18:39:30 +00:00
parent 1371d7ded9
commit 8a98d4ea0b

View File

@ -30,6 +30,7 @@
#define _MACHINE_GLOBALS_H_
#ifdef _KERNEL
#include <machine/globaldata.h>
register struct globaldata *globalp __asm__("r13");
@ -49,6 +50,7 @@ register struct globaldata *globalp __asm__("r13");
* portability between UP and SMP kernels.
*/
#define CURPROC PCPU_GET(curproc)
#define CURTHD PCPU_GET(curproc) /* temporary */
#define curproc PCPU_GET(curproc)
#define idleproc PCPU_GET(idleproc)
#define curpcb PCPU_GET(curpcb)