196 |
|
|
197 |
|
// Make sure the SIGSEGV handler can access CPU registers |
198 |
|
friend sigsegv_return_t sigsegv_handler(sigsegv_address_t, sigsegv_address_t); |
199 |
+ |
|
200 |
+ |
// Memory allocator returning areas aligned on 16-byte boundaries |
201 |
+ |
void *operator new(size_t size); |
202 |
+ |
void operator delete(void *p); |
203 |
|
}; |
204 |
|
|
205 |
|
// Memory allocator returning areas aligned on 16-byte boundaries |
206 |
< |
void *operator new(size_t size) |
206 |
> |
void *sheepshaver_cpu::operator new(size_t size) |
207 |
|
{ |
208 |
|
void *p; |
209 |
|
|
222 |
|
return p; |
223 |
|
} |
224 |
|
|
225 |
< |
void operator delete(void *p) |
225 |
> |
void sheepshaver_cpu::operator delete(void *p) |
226 |
|
{ |
227 |
|
#if defined(HAVE_MEMALIGN) || defined(HAVE_VALLOC) |
228 |
|
#if defined(__GLIBC__) |