Changeset 4e49572 in mainline for arch/amd64/src/proc/scheduler.c
- Timestamp:
- 2006-03-17T11:41:05Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 23d22eb
- Parents:
- 5a7d9d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/src/proc/scheduler.c
r5a7d9d1 r4e49572 33 33 #include <arch/context.h> /* SP_DELTA */ 34 34 #include <arch/asm.h> 35 #include <arch/debugger.h> 35 36 36 37 void before_thread_runs_arch(void) … … 43 44 (__u64)&THREAD->kstack); 44 45 swapgs(); 46 47 48 #ifdef CONFIG_DEBUG_AS_WATCHPOINT 49 /* Set watchpoint on AS to ensure that nobody sets it to zero */ 50 static int old_slot = -1; 51 if (old_slot >=0) 52 breakpoint_del(old_slot); 53 old_slot = breakpoint_add(&((the_t *) THREAD->kstack)->as, 54 BKPOINT_WRITE | BKPOINT_CHECK_ZERO); 55 #endif 45 56 } 46 57
Note:
See TracChangeset
for help on using the changeset viewer.