Re: FW: [iPAQ] skiff tools question

From: Keith Packard <keithp.a.t.keithp.com>
Date: Thu Sep 14 2000 - 19:21:24 EDT

> u8 buf[4];
> u16 *a;
> a = &buf[1];
> *a = 4;

> 0xbffffc40 = 0x4
> 0xbffffc41 = 0x0
> 0xbffffc42 = 0x0
> 0xbffffc43 = 0x0

I dont' think the ARM can do unaligned memory accesses; this should have
caused a SIGBUS.

The original IBM RT processor *ignored* the low bits of the address in
this case giving the result you describe.

Looks like a kernel bug to me.

keithp@keithp.com XFree86 Core Team SuSE, Inc.
Received on Thu Sep 14 16:18:58 2000

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:42 EDT