Greetings, dear list:
 
I tried to modify the code in arch/um/drivers/net_user.c so that I could introduce a delay (of a few milliseconds) to simulate the transmission time of ethernet packets. I used calls to: set_current_state, and schedule_timeout_interruptable. I added the necessary include files: linux/wait.h and linux/sched.h.
 
Compilation failed. One can easily recreate this by merely including the new include files.
 
I noticed that some of the include files that were included were coming from the host linux source code, not the UML source code! In fact, processor specific include files were included.
 
Any ideas?

John Zavgren
[EMAIL PROTECTED]
603-371-0513 (home)
603-801-2094 (mobile)
"The problem isn't that there are too many fools in this world, but rather that lightning isn't selective enough."
-- KC Burgess Yakemovic
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to