Re: [osol-code] Problem about charactor device

2008-05-12 Thread Artem Kachitchkine
> anyway,is there a way to load the driver once ,and system will not > detach the diver? See the ddi-forceattach(9P) man page. However, you might not actually need this. What are you trying to achieve by keeping the driver attached? -Artem _

[osol-code] how do the solaris make a context/address switch?

2008-05-12 Thread lunight
Hi all, do any body knows what the solaris does when a context/address switch happens? since the entity of solaris schedule is kernel thread , and not like linux , solaris separates user address space and kernel address, so when a thread make a syscall, there will be a address spa

Re: [osol-code] Problem about charactor device

2008-05-12 Thread Paul Durrant
2008/5/9 Sean Sprague <[EMAIL PROTECTED]>: > > The fact that if a driver returns a fail on detach() then it will not be > unloaded strikes me as being nasty. The phrase "trojan horse" comes to > mind... Whilst I guess that it is not straightforward for the kernel to > "decide" when a manlfunctionin