Bona Fide OS Developer
View unanswered posts | View active topics It is currently Thu Mar 28, 2024 8:50 am



Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3, 4
 i cannot make kernel calls 
Author Message
Post 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


Fri Oct 16, 2009 11:26 pm

Joined: Wed Oct 14, 2009 9:39 am
Posts: 198
Location: United States
Post 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?

_________________
Charles Timko
push %esp ;Musings of a computer addict


Sat Oct 17, 2009 8:07 pm
Profile WWW
Post Re: i cannot make kernel calls
read the last 2 pages or so if this viewtopic.php?f=6&t=36 thread


Sat Oct 17, 2009 8:16 pm

Joined: Wed Oct 14, 2009 9:39 am
Posts: 198
Location: United States
Post 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).

_________________
Charles Timko
push %esp ;Musings of a computer addict


Sun Feb 20, 2011 10:41 am
Profile WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3, 4


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin and tweaked by the BF Team.