ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/kpx_cpu/sheepshaver_glue.cpp
(Generate patch)

Comparing SheepShaver/src/kpx_cpu/sheepshaver_glue.cpp (file contents):
Revision 1.53 by gbeauche, 2004-11-22T22:04:38Z vs.
Revision 1.54 by gbeauche, 2004-11-25T00:21:09Z

# Line 196 | Line 196 | public:
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  
# Line 218 | Line 222 | void *operator new(size_t size)
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__)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines