Changeset 8222


Ignore:
Timestamp:
Jan 19, 2008, 5:05:10 AM (12 years ago)
Author:
rme
Message:

Initialize node_regs_mask in TCR with default value.

Location:
branches/ia32/lisp-kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/ia32/lisp-kernel/thread_manager.c

    r8070 r8222  
    622622#ifdef X86
    623623  tcr->linear = tcr;
     624#ifdef X8632
     625  tcr->node_regs_mask = X8632_DEFAULT_NODE_REGS_MASK;
     626#endif
    624627#endif
    625628
  • branches/ia32/lisp-kernel/x86-constants32.h

    r8070 r8222  
    349349
    350350#define TCR_BIAS 0
     351
     352/*
     353 * bits correspond to reg encoding used in instructions
     354 *   7   6   5   4   3   2   1   0
     355 *  edi esi ebp esp ebx edx ecx eax
     356 */
     357
     358#define X8632_DEFAULT_NODE_REGS_MASK 0xce
    351359
    352360typedef struct tcr {
Note: See TracChangeset for help on using the changeset viewer.