Ignore:
Timestamp:
2006-09-09T02:56:44+02:00 (8 years ago)
Author:
moo
Message:

reconstruct shm/allocator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/main.m4

    r90 r148  
    118118define(`FIXPOINTER', `FIXPOINTER_EX(`$1', `dst->$2')') 
    119119define(`FIXPOINTER_EX', `IFSTORE(` 
    120     $2 = ($1 *) xc_shm_to_readonly(processor->xce_src->cache->shm, (char *)$2); 
     120    $2 = ($1 *) processor->xce_src->cache->shm->handlers->to_readonly(processor->xce_src->cache->shm, (char *)$2); 
    121121')') 
    122122define(`UNFIXPOINTER', `UNFIXPOINTER_EX(`$1', `dst->$2')') 
    123123define(`UNFIXPOINTER_EX', `IFSTORE(` 
    124     $2 = ($1 *) xc_shm_to_readwrite(processor->xce_src->cache->shm, (char *)$2); 
     124    $2 = ($1 *) processor->xce_src->cache->shm->handlers->to_readwrite(processor->xce_src->cache->shm, (char *)$2); 
    125125')') 
    126126dnl }}} 
Note: See TracChangeset for help on using the changeset viewer.