Changeset 6409 for branches/x8664-call


Ignore:
Timestamp:
May 4, 2007, 4:20:02 AM (13 years ago)
Author:
gb
Message:

Changes to suppress references to "running_under_rosetta" on branch, too.

Location:
branches/x8664-call/ccl/lisp-kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/x8664-call/ccl/lisp-kernel/pmcl-kernel.c

    r6142 r6409  
    6868#endif
    6969
     70Boolean use_mach_exception_handling =
     71#ifdef DARWIN
     72  true
     73#else
     74  false
     75#endif
     76;
     77
    7078#ifdef DARWIN
    7179#include <sys/types.h>
     
    8088
    8189Boolean running_under_rosetta = false;
    82 Boolean use_mach_exception_handling =
    83 #ifdef DARWIN
    84   true
    85 #else
    86   false
    87 #endif
    88 ;
    8990
    9091#if WORD_SIZE == 64
     
    16121613  base = (ustart) & ~(cache_block_size-1);
    16131614  end = (ustart + nbytes + cache_block_size - 1) & ~(cache_block_size-1);
     1615#ifdef DARWIN
    16141616  if (running_under_rosetta) {
    16151617    /* We probably need to flush something's cache even if running
     
    16191621    return;
    16201622  }
     1623#endif
    16211624#ifndef X86
    16221625  flush_cache_lines(base, (end-base)/cache_block_size, cache_block_size);
  • branches/x8664-call/ccl/lisp-kernel/ppc-exceptions.c

    r6405 r6409  
    17371737  xframe_list xframe_link;
    17381738
     1739#ifdef DARWIN
    17391740  if (running_under_rosetta) {
    17401741    fprintf(stderr, "signal handler: signal = %d, pc = 0x%08x\n", signum, xpPC(context));
    17411742  }
     1743#endif
    17421744  if (!use_mach_exception_handling) {
    17431745   
Note: See TracChangeset for help on using the changeset viewer.