[osol-discuss] Why fsflush/pageout damemon were implemented by newproc() as kernel process

2009-10-12 Thread javen wu
I have a question about solaris boot strap main() function. solaris create fsflush/pageout in main function by newproc() as sys class kernel process and use kernel address space? Is there any special reason we cannot implement fsflush(pid 2) and pageout daemon(pid3) by thread_create() as a kern

Re: [osol-discuss] looking for SCSI disk HBA sample code

2008-02-28 Thread Javen Wu
Most of your understand is correct. Just a minor clarification. there is no interface called ddi_tran_init_pkt. Only tran_init_pkt(9E) exist. You should bind dma buffer and setup SG list in your tran_init_pkt(), and fill it in your message frame in your tran_start(9E) routine. From the informati

[osol-discuss] Re: [driver-discuss] Project Proposal: SATA AHCI HBA driver enhancement

2007-01-11 Thread Javen Wu
Count me in! +1 Javen Dachuan Fir Qin wrote: *Project Proposal: SATA AHCI HBA driver enhancement* This project is aiming at supporting more ahci-compliant chipsets and adding more features to ahci driver. The webpage of AHCI project for opensolaris is at: http://www.opensolaris.org/os/comm