Ignore:
Timestamp:
Dec 21, 2011, 6:15:31 PM (8 years ago)
Author:
gb
Message:

At least for x86: move some platform-specific constants (register indices)
from x86-constants*.h to platform-*.h. What a concept.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/platform-darwinx8632.h

    r14295 r15147  
    3737#include "x86-constants32.h"
    3838
     39/* offsets into uc_mcontext.ss */
     40
     41#define REG_EAX 0
     42#define REG_EBX 1
     43#define REG_ECX 2
     44#define REG_EDX 3
     45#define REG_EDI 4
     46#define REG_ESI 5
     47#define REG_EBP 6
     48#define REG_ESP 7
     49#define REG_EFL 9
     50#define REG_EIP 10
     51
    3952
    4053/* xp accessors, sigreturn stuff */
Note: See TracChangeset for help on using the changeset viewer.