Re: Architectures with strict alignment?



On Sat, Dec 29, 2007 at 12:14:11AM -0800, Kip Macy wrote:
Isn't it everything except x86?

-Kip
x86 has the AC bit in the eflags. The AM bit in cr0 is enabled by the
kernel, and AC could be switched on by LD_PRELOADed shared object.

Last time I checked, our libc caused unaligned access in the locale
initialization code.


On Dec 29, 2007 12:11 AM, Erich Dollansky <oceanare@xxxxxxxxxxxxxx> wrote:
Hi,


Ivan Voras wrote:
Hi,

Which of the architectures FreeBSD supports (if any) have strict memory
alignment requirements? (in the sense that accessing a 32-bit integer
not aligned on a 32-bit address results in a hardware trap/exception).

isn't this the case with SPARC and Itanium?

I know, they are 64 bits.

Erich

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"

Attachment: pgpHmtZ5GdCcp.pgp
Description: PGP signature



Relevant Pages

  • kernel oops...
    ... I've just add two hangs with a plain vanilla kernel 2.4.21 on a Debian ... Aug 8 21:15:01 www kernel: CPU: 0 ... Aug 8 21:15:01 www kernel: EFLAGS: 00010282 ... # Loadable module support ...
    (Linux-Kernel)
  • Re: Oops with 2.4.23 in kswapd
    ... > These are useless until you run them through ksymoops... ... If the current kernel and/or modules do not match the log, ... EFLAGS: 00010207 ... Process rsync (pid: 5586, stackpage=c6e95000) ...
    (Linux-Kernel)
  • Re: Fw: crash on x86_64 - mm related?
    ... I can't keep running this kernel - nearly all of our ... but a reboot is needed ... RSP: 0018:ffff81017b6bfe18 EFLAGS: 00010256 ...
    (Linux-Kernel)
  • 2.6.16.18 crash on HP DL585
    ... Yesterday I have tried to upgrade our quad-opteron HP DL585 ... to a newer kernel (2.6.16.18, ... Fedora Core 5 compilers). ... RSP: 0018:ffff8105bf13fb10 EFLAGS: 00000286 ...
    (Linux-Kernel)
  • Re: Is it possible for a module to load in use a shared object (.so) ?
    ... I know a module can load another module, but is it possible for a ... module to use a shared object file? ... kernel provides what looks like a shared library to userspace). ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
    (Linux-Kernel)