Changeset 6387


Ignore:
Timestamp:
May 1, 2007, 4:16:46 AM (15 years ago)
Author:
gb
Message:

use_mach_exception_handling is referenced at runtime and explicitly extern,
so make sure that it's initialized on all platforms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lisp-kernel/pmcl-kernel.c

    r6142 r6387  
    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);
Note: See TracChangeset for help on using the changeset viewer.