Changeset 6c6a19e6 in mainline for arch/ia32/src/proc/scheduler.c
- Timestamp:
- 2006-03-17T13:37:59Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0f250f9
- Parents:
- bd72b475
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/proc/scheduler.c
rbd72b475 r6c6a19e6 41 41 #ifdef CONFIG_DEBUG_AS_WATCHPOINT 42 42 /* Set watchpoint on AS to ensure that nobody sets it to zero */ 43 static int old_slot = -1; 44 if (old_slot >=0) 45 breakpoint_del(old_slot); 46 old_slot = breakpoint_add(&((the_t *) THREAD->kstack)->as, 47 BKPOINT_WRITE | BKPOINT_CHECK_ZERO); 43 if (CPU->id < BKPOINTS_MAX) 44 breakpoint_add(&((the_t *) THREAD->kstack)->as, 45 BKPOINT_WRITE | BKPOINT_CHECK_ZERO, 46 CPU->id); 48 47 #endif 49 50 48 } 51 49
Note:
See TracChangeset
for help on using the changeset viewer.