Date: Thu, 03 Aug 2006 11:34:07 -0700 From: Maxim Sobolev <sobomax@FreeBSD.org> To: David Edelsohn <dje@watson.ibm.com> Cc: freebsd-ppc@FreeBSD.org Subject: Re: Unaligned 64-bits access on FreeBSD/powerpc Message-ID: <44D2419F.1050100@FreeBSD.org> In-Reply-To: <200608031826.k73IQX835138@makai.watson.ibm.com> References: <44D23F02.9020709@FreeBSD.org> <200608031826.k73IQX835138@makai.watson.ibm.com>
next in thread | previous in thread | raw e-mail | index | archive | help
David Edelsohn wrote: >>>>>> Maxim Sobolev writes: > > Maxim> I came over a problem that unaligned 64-bits access to a memory (via > Maxim> uint8_t or long long pointer) causes SIGBUS. Is it expected behavior or not? > > The kernel should catch and fixup any unaligned accesses that the > hardware does not allow. Well, actually *nix has a long history of just killing the program with SIGBUS in such case. I am just wondering if it's really expected behavior on FreeBSD/powerpc or not. -Maxim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44D2419F.1050100>