gem5/src
Nathan Binkert ede89c2d54 libm5: Create a libm5 static library for embedding m5.
This should allow m5 to be more easily embedded into other simulators.
The m5 binary adds a simple main function which then calls into the m5
libarary to start the simulation. In order to make this work
correctly, it was necessary embed python code directly into the
library instead of the zipfile hack.  This is because you can't just
append the zipfile to the end of a library the way you can a binary.
As a result, Python files that are part of the m5 simulator are now
compile, marshalled, compressed, and then inserted into the library's
data section with a certain symbol name.  Additionally, a new Importer
was needed to allow python to get at the embedded python code.

Small additional changes include:
- Get rid of the PYTHONHOME stuff since I don't think anyone ever used
it, and it just confuses things.  Easy enough to add back if I'm wrong.
- Create a few new functions that are key to initializing and running
the simulator: initSignals, initM5Python, m5Main.

The original code for creating libm5 was inspired by a patch Michael
Adler, though the code here was done by me.
2008-08-03 18:19:54 -07:00
..
arch X86: Make hint nops consume their modrm byte. 2008-08-03 14:43:24 -07:00
base Get rid of useless m5_assert macro. 2008-07-15 14:38:51 -04:00
cpu Use ReadResp instead of LoadLockedResp for LoadLockedReq responses. 2008-07-15 14:38:51 -04:00
dev Fix cases where RADV interrupt timer is used and make ITR interrupt moderation not always delay if no interrupts have been posted for the ITR value. 2008-07-01 10:30:08 -04:00
doxygen Fix up doxygen. 2006-08-14 19:25:07 -04:00
kern SCons: Fix more SCons version issues 2008-06-11 10:54:08 -04:00
mem Make default PhysicalMemory latency slightly more realistic. 2008-08-03 18:13:29 -04:00
python libm5: Create a libm5 static library for embedding m5. 2008-08-03 18:19:54 -07:00
sim libm5: Create a libm5 static library for embedding m5. 2008-08-03 18:19:54 -07:00
unittest Quick program to time how long ccprintf takes to write 2007-02-07 22:02:09 -08:00
Doxyfile Fix up doxygen. 2006-08-14 19:25:07 -04:00
SConscript libm5: Create a libm5 static library for embedding m5. 2008-08-03 18:19:54 -07:00