Fixes&updates for tlmu-1.4.0 after trying it#1
Fixes&updates for tlmu-1.4.0 after trying it#1buaaliyi wants to merge 8 commits intohdlab:tlmu-1.4.0from
Conversation
issue description: [xcb] Unknown request in queue while dequeuing [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. ../../src/xcb_io.c:178: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed. Aborted
|
Hi, LI Yi Thank you for paying attention for our project. Examples failes on my environment. Now I am checking it. I will pull 3 of your commits, but TLMu uses small portion of QEMU codes, so it is safe to disable non-necessary features during configure. ./configure --extra-cflags=-fPIC --disable-pie --disable-curses --disable-sdl --disable-vnc --disable-xen --disable-kvm --target-list=or32-softmmu,arm-softmmu,mipsel-softmmu,cris-softmmu I am very happy to have feedback from you. |
|
Hi Program stucks after I inserted some usleep() to change the timing of threads. The behavior depends on the environment because it looks racing problem. I guess this problem appears SEGV in your environment.
The first one provides better performance but I have to dive into the deep source code. Your idea sounds best so far. I would appriciate if you make it in public. Regards, |
new & delete appear in pairs to avoiding the memory leaks
fix test/tlmu makefile to allow external LD_LIBRARY_PATH setting
|
Hi, Thanks for this project. Thanks & Regards, anabais@SFLinux:~/work/simu/hdlab/tlmu/build-tlmu/tests/tlmu$ gdb ./sc_example/sc_example [New Thread 0x7fffef96c700 (LWP 31476)] Program received signal SIGUSR1, User defined signal 1. Quit anyway? (y or n) y |
|
Hi I am sorry for my late response. Regards, |

Hi,
I'm interest in your project hdlab/tlmu. After trying build and run the code on my test bench, I've made little update commits to it. As the followings:
I found the code can't compile correctly in case that the current version of GNU-TLS changes an interface
after make && make tlmu, I found the tlmu-doc.html is not generated, so this commit fix the issue
now that SystemC releases together with TLM-2.0, there is dumplicate including of it
I found there's an issue with multi-threading SDL call, so here using arg '-nographic' to avoid it when launching with qemu. Maybe this is an temporary solution, any better one may carry on in the future.
After all, I will keep on watching on this nice project TLMu and try my best to make it better, as well as, up-to-date with QEMU mainstream.
Thank you for your work!
LI Yi