Ignore:
Timestamp:
Sep 20, 2011, 2:19:03 AM (9 years ago)
Author:
rme
Message:

New functions in x86-utils.[ch], moved, more-or-less,
from xlbt.c.

Use them in x86-exceptions.c, in particular in
create_exception_callback_frame().

Move the definitions of the RECOVER_FN_xxx constants
from x86-exceptions.h to the appropriate x86-constants{32,64}.h
files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/x86-constants32.h

    r14619 r14991  
    216216#define function_boundary_marker subtag_function_boundary_marker
    217217
     218/* The 32-bit immediate value in the instruction
     219 * "(mov ($ 0x12345678) (% fn))" at a tagged return address
     220 * refers to the associated function.
     221 */
     222#define RECOVER_FN_OPCODE 0xbf
     223#define RECOVER_FN_LENGTH 5
    218224
    219225
Note: See TracChangeset for help on using the changeset viewer.