Date: Thu, 8 Jun 2000 19:12:36 -0600 From: "Andrew M . Miklic" <miklic@ibm.net> To: freebsd-hackers@freebsd.org Subject: Processes, context switching in kernel... Message-ID: <20000608191236.E412@Pooh.ibm.net>
next in thread | raw e-mail | index | archive | help
All, I'm working on the emulator for OSF1/Mach for FreeBSD/Alpha, and I need some help understanding how to do some things in the FreeBSD kernel--if anyone can answer any of the following questions, it would be greatly appreciated: 1) How do you create a process in the kernel (i.e., you fork in user-space...what's the analogue for kernel-space)? 2) How do you clone a process in kernel-space (i.e., in user-space, you would fork and then share the entire process's memory space--how would you do such a thing in kernel-space)? 3) What needs to be done to perform a context switch (from within the kernel), and are there any MP considerations when doing this? 4) In what files do the proc and the u-area structures reside? Thanks, Andrew Miklic To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000608191236.E412>