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-freebsdx8632.h

    r13952 r15147  
    3232#include "x86-constants32.h"
    3333
     34#define REG_EDI 5
     35#define REG_ESI 6
     36#define REG_EBP 7
     37#define REG_ISP 8
     38#define REG_EBX 9
     39#define REG_EDX 10
     40#define REG_ECX 11
     41#define REG_EAX 12
     42#define REG_EIP 15
     43#define REG_EFL 17
     44#define REG_ESP 18
     45
     46
    3447#include "freebsdx8632/fpu.h"
    3548#define xpGPRvector(x) ((natural *)(&((x)->uc_mcontext)))
Note: See TracChangeset for help on using the changeset viewer.