python gem5 user mode

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-09-21 01:00:00 +00:00
parent c89936d613
commit 0084eb02d7

View File

@@ -20809,6 +20809,10 @@ fatal: syscall unused#278 (#278) unimplemented.
which corresponds to the glorious `getrandom` syscall: https://github.com/torvalds/linux/blob/v4.17/include/uapi/asm-generic/unistd.h#L707
Bibliography:
* https://stackoverflow.com/questions/63999944/is-it-possible-to-run-python-code-in-gem5-syscall-emulation-mode
===== Embedding Python in another application
Here we will add some better examples and explanations for: https://docs.python.org/3/extending/embedding.html#very-high-level-embedding