linux-mips
[Top] [All Lists]

Re: unaligned access

To: "sathesh babu" <sathesh_edara2003@yahoo.co.in>
Subject: Re: unaligned access
From: "Rajat Jain" <rajat.noida.india@gmail.com>
Date: Thu, 22 Feb 2007 13:23:25 +0530
Cc: linux-mips@linux-mips.org
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=txr9r39RDfOq7shptOtrHZf4uNu7Qz+JeQP2a4B/XPV99fyL/iTHbolVcTEOcxiJg3t0tCwRV5H8s+mWFy/gEqFY2/lmjrppOLJMWD4qH3HwvW6gLRTq2JPUdd+WoQA013O4cNlZsvm2UMEEOarpF3vvDEGuqskbrjp2xgwAZXY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=T1ymqHeHL0nP/gFZgplB10uTDG0LA1DUWCE7ykKrngAneYjiRis/96EosvUm41KmqZlUB8IWcWBRrp+BurQQK2cFIWbB6t1VODY01ye0DmsjfvkB7yti/4S9MjxeLx8auKK49xSbktxYNrPyGuFckw5J+SHmEvYeFMjdg0/nfSY=
In-reply-to: <566085.6765.qm@web7904.mail.in.yahoo.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <566085.6765.qm@web7904.mail.in.yahoo.com>
Sender: linux-mips-bounce@linux-mips.org
On 2/22/07, sathesh babu <sathesh_edara2003@yahoo.co.in> wrote:
Hi,
    I have ported linux-2.6.12 kernel on MIPS processor.I would like to
print the warning messges whenenver kernel or user code  try to access
unaligned address ( including proceor ID ).
  Is there any configuration option  avaliable in the kernel to view
the unaligned address?

Ummm ... not sure about MIPS, but in i386, exception 17 is raised for
every unaligned access. alignment_check() is invoked for every such
access.

Regards,

Rajat

<Prev in Thread] Current Thread [Next in Thread>