Add MKMCONTEXT option
This commit is contained in:
@@ -59,6 +59,12 @@ SRCS+= apic.c apic_asm.S
|
||||
CPPFLAGS+= -DUSE_APIC
|
||||
.endif
|
||||
|
||||
.if ${USE_MCONTEXT} != "no"
|
||||
SRCS+= do_mcontext.c
|
||||
CPPFLAGS+= -DUSE_MCONTEXT
|
||||
.endif
|
||||
|
||||
|
||||
# These come last, so the profiling buffer is at the end of the data segment
|
||||
SRCS+= profile.c do_sprofile.c
|
||||
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
#define USE_MEMSET 1 /* write char to a given memory area */
|
||||
#define USE_RUNCTL 1 /* control stop flags of a process */
|
||||
#define USE_UPDATE 1 /* update a process into another */
|
||||
#define USE_MCONTEXT 1 /* enable getting and setting of mach context*/
|
||||
#define USE_STATECTL 1 /* let a process control its state */
|
||||
|
||||
/* Length of program names stored in the process table. This is only used
|
||||
|
||||
@@ -37,7 +37,6 @@ SRCS+= \
|
||||
do_cprofile.c \
|
||||
do_profbuf.c \
|
||||
do_vmctl.c \
|
||||
do_mcontext.c \
|
||||
do_schedule.c \
|
||||
do_schedctl.c \
|
||||
do_statectl.c
|
||||
|
||||
Reference in New Issue
Block a user