Hanhwi Jang has uploaded a new patch set (#2). (
https://gem5-review.googlesource.com/6541 )
Change subject: util: Implement Lua module for m5ops.
......................................................................
util: Implement Lua module for m5ops.
This module allows m5ops to be executed in Lua programs.
To compile it (in util/m5):
The following command generates Lua moduel, gem5OpLua.so.
make -f Makefile.<arch> gem5OpLua.so
To use it:
First, put gem5OpLua.so in Lua library search path.
Then, import the module and execute the m5op function.
Example usage, creating a checkpoint.
m5 = require("gem5OpLua")
m5.do_checkpoint(0, 0)
Change-Id: Icc18a1fb6c050afeb1cf4558fbdc724fb26a90e2
---
M util/m5/Makefile.aarch64
M util/m5/Makefile.alpha
M util/m5/Makefile.arm
M util/m5/Makefile.sparc
M util/m5/Makefile.thumb
M util/m5/Makefile.x86
A util/m5/lua_gem5Op.c
M util/m5/m5.c
A util/m5/m5_mmap.c
A util/m5/m5_mmap.h
M util/m5/m5op_x86.S
11 files changed, 464 insertions(+), 36 deletions(-)
--
To view, visit https://gem5-review.googlesource.com/6541
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icc18a1fb6c050afeb1cf4558fbdc724fb26a90e2
Gerrit-Change-Number: 6541
Gerrit-PatchSet: 2
Gerrit-Owner: Hanhwi Jang <[email protected]>
Gerrit-Reviewer: Hanhwi Jang <[email protected]>
Gerrit-CC: Jason Lowe-Power <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev