| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | hidden bug in 32 bit kernel ejtag |
| From: | Greg Lindahl <lindahl@keyresearch.com> |
| Date: | Wed, 5 Feb 2003 16:29:39 -0800 |
| In-reply-to: | <20030124141524.GA685@excalibur.cologne.de> |
| Mail-followup-to: | linux-mips@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20030124141524.GA685@excalibur.cologne.de> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.4i |
While inspecting the 2.4 cvs kernel, I saw that arch/mips/kernel/head.S does not have a .align for ejtag_debug_buffer -- just a ".fill 4". The alignment happens to be correct, I guess since it's the first .data segment item in the file, but anyone rearranging the code could trigger a misalignment, which causes an unaligned trap inside an exception... try debugging that one. (OK, I got lucky...) The 64 bit cvs kernel doesn't yet have this ejtag stuff in it. 2.5 looks the same as 2.4. -- greg |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: kernel boot error., Andrew Clausen |
|---|---|
| Next by Date: | Question, benyates3 |
| Previous by Thread: | Software floating point, Chien-Lung Wu |
| Next by Thread: | Question, benyates3 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |