Date: Fri, 13 Jul 2001 09:37:14 -0600 From: Drew Eckhardt <drew@PoohSticks.ORG> To: "Eugene L. Vorokov" <vel@bugz.infotecs.ru> Cc: Alfred Perlstein <bright@sneakerz.org>, freebsd-hackers@FreeBSD.ORG Subject: Re: Some questions about kernel programming Message-ID: <200107131537.f6DFbET69664@revolt.poohsticks.org> In-Reply-To: Your message of "Fri, 13 Jul 2001 19:38:55 %2B0400." <200107131538.f6DFctQ00744@bugz.infotecs.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200107131538.f6DFctQ00744@bugz.infotecs.ru>, vel@bugz.infotecs.ru w rites: >> ch = fubyte(uaddr); > >And one more question, does this mean that I can't use things x = *uaddr >and *uaddr = x for userspace, but always have to use fubyte() and subyte () ? Right. >If so, what is the reason it was done like that ? Architectural constraints on some platforms (say you can address just 64K at a time. Obviously, the kernel's 64K and user's 64K can't be accessed using normal pointers). 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?200107131537.f6DFbET69664>