Bona Fide OS Development http://forums.osdever.net/ |
|
i cannot make kernel calls http://forums.osdever.net/viewtopic.php?f=6&t=38 |
Page 4 of 4 |
Author: | smeezekitty [ Fri Oct 16, 2009 11:26 pm ] |
Post subject: | Re: i cannot make kernel calls |
i finally got the kernel to far call the child but i cannot call back the reaon why is the kernel is built with the tiny memory model |
Author: | ctimko [ Sat Oct 17, 2009 8:07 pm ] |
Post subject: | Re: i cannot make kernel calls |
To be honest, I am not really sure what you are trying to do. Are you trying to do callbacks? |
Author: | smeezekitty [ Sat Oct 17, 2009 8:16 pm ] |
Post subject: | Re: i cannot make kernel calls |
read the last 2 pages or so if this viewtopic.php?f=6&t=36 thread |
Author: | ctimko [ Sun Feb 20, 2011 10:41 am ] |
Post subject: | Re: i cannot make kernel calls |
There are a few ways you can do it...Linux allows system calls via interrupts. However, you could also just write a Shared Object system that reads shared objects compiled by GCC and link it on linux with your code, and then run it again... There is quite a bit that would go into that, but you would have better luck that trying to write a compiler...I did that once...ended badly...lol...(Also it would prolly just be easier for you to port GCC to your OS, that is my plan for now). |
Page 4 of 4 | All times are UTC - 6 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |