4 |
|
* Derived from Bruno Haible's work on his SIGSEGV library for clisp |
5 |
|
* <http://clisp.sourceforge.net/> |
6 |
|
* |
7 |
< |
* Basilisk II (C) 1997-2002 Christian Bauer |
7 |
> |
* Basilisk II (C) 1997-2005 Christian Bauer |
8 |
|
* |
9 |
|
* This program is free software; you can redistribute it and/or modify |
10 |
|
* it under the terms of the GNU General Public License as published by |
27 |
|
// Address type |
28 |
|
typedef char * sigsegv_address_t; |
29 |
|
|
30 |
– |
// Transfer type (intended to be used a mask for sigsegv_*_ignore_range()) |
31 |
– |
enum sigsegv_transfer_type_t { |
32 |
– |
SIGSEGV_TRANSFER_UNKNOWN = 0, |
33 |
– |
SIGSEGV_TRANSFER_LOAD = 1, |
34 |
– |
SIGSEGV_TRANSFER_STORE = 2, |
35 |
– |
}; |
36 |
– |
|
30 |
|
// SIGSEGV handler return state |
31 |
|
enum sigsegv_return_t { |
32 |
|
SIGSEGV_RETURN_SUCCESS, |