aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/sim-main.c
AgeCommit message (Collapse)AuthorFilesLines
2022-01-06sim: mips: migrate to standard uintXX_t typesMike Frysinger1-10/+10
Move off the sim-specific unsignedXX types and to the standard uintXX_t types that C11 provides.
2022-01-01sim: mips: clean up bad style/whitespaceMike Frysinger1-63/+63
This doesn't fix all the problems, but grabs a bunch of the more obvious ones.
2021-11-01sim: mips: reduce -Wno-error scopeMike Frysinger1-6/+6
Fix a few printf warnings in sim-main.c, and then we're left with only one file in here still generating warnings, so reduce the -Werror disable to that alone now that we require GNU make and can set variables on a per-object basis.
2021-05-16sim: switch config.h usage to defs.hMike Frysinger1-0/+3
The defs.h header will take care of including the various config.h headers. For now, it's just config.h, but we'll add more when we integrate gnulib in. This header should be used instead of config.h, and should be the first include in every .c file. We won't rely on the old behavior where we expected files to include the port's sim-main.h which then includes the common sim-basics.h which then includes config.h. We have a ton of code that includes things before sim-main.h, and it sometimes needs to be that way. Creating a dedicated header avoids the ordering mess and implicit inclusion that shows up otherwise.
2020-12-31sim/mips/sim-main.c: Include <stdlib.h> (for abort() declaration)Pavel I. Kryukov1-0/+1
sim/mips/ChangeLog: * sim-main.c: Include <stdlib.h>.
2015-12-26sim: mips: delete mmu stubs to move to common sim_{read,write}Mike Frysinger1-83/+4
The only unique thing about mip's sim_{read,write} helpers is the call to address_translation on the incoming address. When we look closer at that function though, we see it's just a stub that maps physical to virtual, and the cache/return values are hardcoded. If we delete this function, we can then collapse all the callers and drop the custom sim_{read,write} logic entirely. Some day we might want to add MMU support, but when we do, we'll want to have the common layers handle things so all targets benefit.
2015-06-12sim: mips: switch to common WITH_TRACE_ANY_PMike Frysinger1-4/+0
We want to add new common trace helpers including "TRACE", so change the mips one to the new WITH_TRACE_ANY_P macro since they do the same thing.
2012-12-19[sim] Update old contact info in GPL license noticesJoel Brobecker1-2/+1
sim/ChangeLog: Update old contact info in GPL license notices.
2012-12-19Update sim copyright headers from GPLv2-or-later to GPLv3-or-later.Joel Brobecker1-1/+1
gdb/sim/ChangeLog: Update the non-FSF-copyrighted files in sim to GPLv3 or later.
2002-06-032002-06-03 Chris Demetriou <cgd@broadcom.com>Chris Demetriou1-18/+18
* cp1.c: fix formatting of switch case and default labels. * interp.c: Likewise. * sim-main.c: Likewise.
2001-02-082001-02-08 Ben Elliston <bje@redhat.com>Chris Demetriou1-34/+18
* sim-main.c (load_memory): Pass cia to sim_core_read* functions. (store_memory): Likewise, pass cia to sim_core_write*.
2000-02-05import gdb-2000-02-04 snapshotJason Molenda1-0/+1
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+579
1999-04-16Initial creation of sourceware repositoryStan Shebs1-871/+0
1998-11-12Add configury for mips-lsi-elf target (32 bit MIPS16).Andrew Cagney1-14/+29
Fix numerous problems with PENDING_* code. In old gencode simulator, don't double tick each cycle. Add BREAK instruction to MIPS16 gencode simulator.
1998-10-29* sky->devo merge, continued -- left out the r5900 TLB last time!Frank Ch. Eigler1-35/+299
* includes a small PR 17224 tweak
1998-06-02* SYSCALL now uses exception vector.Ian Carmichael1-12/+62
* SKY: New memory mapping rules for k1seg, k0seg. * Modified Files: ChangeLog.sky ChangeLog interp.c sim-main.c
1998-04-05aclocal.m4: Don't enable inlining when cross-compiling.Andrew Cagney1-0/+542
mips/*: Tune mips simulator - allow all memory transfer code to be inlined.