Ignore:
Timestamp:
Apr 19, 2010, 8:18:00 AM (11 years ago)
Author:
gb
Message:

Changed files from trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/arm/lisp-kernel/platform-win64.h

    r13629 r13643  
    3333#include "lisptypes.h"
    3434#include "x86-constants64.h"
     35
     36#define xpGPRvector(x) ((DWORD64 *)(&(x)->Rax))
     37#define xpGPR(x,gprno) (xpGPRvector(x)[gprno])
     38#define xpPC(x) xpGPR(x,Iip)
     39#define eflags_register(xp) xp->EFlags
     40#define xpMXCSRptr(x) (DWORD *)(&(x->MxCsr))
     41
     42
     43#define SIGNUM_FOR_INTN_TRAP SIGSEGV /* Also fake */
     44#define IS_MAYBE_INT_TRAP(info,xp) \
     45  ((info->ExceptionCode == EXCEPTION_ACCESS_VIOLATION) &&       \
     46   (info->ExceptionInformation[0]==0) &&                       \
     47   (info->ExceptionInformation[1]==(ULONG_PTR)(-1L)))
     48#define IS_PAGE_FAULT(info,xp) (1)
     49#define SIGRETURN(context)      /* for now */
     50
     51#include "os-windows.h"
Note: See TracChangeset for help on using the changeset viewer.