Menu

Experiment in making Dynamips into a DLL. First step into going in the world of COM.

Currently the hypervisor mode is broken. And the DLL only works when statically called, dynamic references break for some unknown stack corruption reason. (increase the stack of dll2.c ??) There is also far too much printf'ing going on. I may have to do that lame fprintf(stdout). I dont know or a macro for output. yuck.

Standalone MIPS and PowerPC work.
dynamips.exe -X -T 7200 -P 1700 -t 1710 -r 64 --idle-pc 0x80369ac4 c1700-y-mz.120-7.T.bin
dynamips.exe -X -T 7200 -P 7200 -t npe-150 -p 0:C7200-IO-FE -T 7200 c7200-is-mz.120-7.T3.bin

Otherwise, DLL.c can be passed a script, and the routers name (need to parse that out!) and then it'll create the router based on the script start the named router, wait for an enter, then shutdown and exit.

Posted by Jason Stevens 2015-09-15

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.