diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2015-03-28 10:40:43 +0000 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2015-03-28 10:40:43 +0000 |
| commit | 7a44ee6004672c6644c33847d86201f2a8c8acde (patch) | |
| tree | 4563c20363b82ab3aeea0df84ec436e4b13dedb5 /emu/port/main.c | |
| parent | c2179f29df449f0f6eb42c703f2233bb1409fe59 (diff) | |
add coherence call for weakly-ordered cpus, default to nop
Diffstat (limited to 'emu/port/main.c')
| -rw-r--r-- | emu/port/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/emu/port/main.c b/emu/port/main.c index 66ebb6a9..c45a33cf 100644 --- a/emu/port/main.c +++ b/emu/port/main.c @@ -227,6 +227,11 @@ putenvqv(char *name, char **v, int n, int conf) free(val); } +static void +noop(void) +{ +} + void main(int argc, char *argv[]) { @@ -234,6 +239,8 @@ main(int argc, char *argv[]) char *enva[20]; int envc; + if(coherence == nil) + coherence = noop; quotefmtinstall(); savestartup(argc, argv); /* set default root now, so either $EMU or -r can override it later */ |
