Date: Fri, 25 Mar 2005 05:08:31 -0800 (PST) From: "Kamal R. Prasad" <kamalpr@yahoo.com> To: Dan Nelson <dnelson@allantgroup.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Kernel documentation and specification Message-ID: <20050325130831.45485.qmail@web52703.mail.yahoo.com> In-Reply-To: 6667
next in thread | raw e-mail | index | archive | help
I have been trying to find a way to load powerpc GPRs into my C variables (using __asm__)[inside the kernel], and if someone can give me a clue/point to code that would be great. The gnu documentation on _asm__ usage seems a bit too short. thanks -kamal --- Dan Nelson <dnelson@allantgroup.com> wrote: [snip] > > > > Some questions for instance are the use of sse, > mmx, and fpu register > > and commands inside the kernel. > > To answer this particular question, I don't believe > any floating-point > is allowed in the kernel, due to the extra time it > would take to save > and restore the registers on every context switch > (and kernel thread > switch even), and the difficulty of trapping > exceptions. > > -- > Dan Nelson > dnelson@allantgroup.com > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" > ------------------------------------------------------------ Kamal R. Prasad UNIX systems consultant kamalp@acm.org In theory, there is no difference between theory and practice. In practice, there is:-). ------------------------------------------------------------ __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050325130831.45485.qmail>