Hi, as some of you know I'm working on extending the real-time class with the 
SCHED_SPORADIC policy and I'm almost done now, everything compiles the logic 
should be ok, BUT when I reboot with my new kernel it wont start up, it reboots 
after loading a bit. :/

So I search throw my code and find that I've and find that in the swtch() 
function in /usr/src/uts/common/disp/disp.c I'm using the rtproc_t structure 
for some needed logic. But I haven't allocate any memory for it? it is a 
pointer, but can I use malloc as usually? or how do I allocate memory for it? I 
checked in he real-time class and there is a function called rt_enterclass() 
that I think initialize th rtpp struct but I'm not following it all the way. :/ 
anyone care to explaine?

thanks.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to