Changeset 687c3cd in mainline for kernel/arch/amd64/src/proc


Ignore:
Timestamp:
2009-02-14T21:06:57Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4cac212c
Parents:
74bcf5e
Message:

Get rid of CONFIG_DEBUG_AS_WATCHPOINT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/proc/scheduler.c

    r74bcf5e r687c3cd  
    4040#include <arch/context.h>       /* SP_DELTA */
    4141#include <arch/asm.h>
    42 #include <arch/debugger.h>
    4342#include <print.h>
    4443#include <arch/pm.h>
     
    6968        /* TLS support - set FS to thread local storage */
    7069        write_msr(AMD_MSR_FS, THREAD->arch.tls);
    71 
    72 #ifdef CONFIG_DEBUG_AS_WATCHPOINT
    73         /* Set watchpoint on AS to ensure that nobody sets it to zero */
    74         if (CPU->id < BKPOINTS_MAX)
    75                 breakpoint_add(&((the_t *) THREAD->kstack)->as,
    76                     BKPOINT_WRITE | BKPOINT_CHECK_ZERO, CPU->id);
    77 #endif
    7870}
    7971
Note: See TracChangeset for help on using the changeset viewer.