Re: [uCsimm] Error in asm/MC68EZ328.h

From: Vladimir Gurevich (vgurevic@cisco.com)
Date: Mon Dec 04 2000 - 11:54:05 EST


Hello David,

David wrote:

> I have found that the definition of the Interrupt Pending Register (IPR) in the
> "asm/MC68EZ328.h" include file is wrong. IPR_ADDR is definied as 0xFFFFF30C
> when it should be 0xFFFFF310 as it is described in the DragonBall User's
> Manual.

You are correct. There was a problem with MC68EZ328.h, but it was fixed
some
time ago. Unfortunately, the fixes didn't make their way in the official
uClinux
distribution.

If you want, you can grab the patched 2.0.38.1pre7 from
     ftp://ftp.employees.org/vag/uClinux

It also contains one more fix for MC68EZ328.h (ICR_ADDR was defined as
0xffff302 instead of 0xfffff302).

> I think (hope) that this doesn't affect the behaviour of uClinux itself, but it
> must be taken into account when analyzing which interrupt has occurred.

As far as I remember it was OK, because (ironically) the main
interrupt dispatcher in arch/m68knommu/platform/68EZ328/ints.c
had all the register addresses hardcoded.

Happy hacking,
Vladimir

-- 
+------------------+------------------------+--------------------------+
                   |      |          |      | 
                   |     :|:        :|:     | phone         408-525-9707
Vladimir Gurevich  |    :|||:      :|||:    | fax           408-525-9707
Software Engineer  | .:|||||||:..:|||||||:. |
      RABU         |      CiscoSystems      | e-mail  vgurevic@cisco.com
                   |                        | location SJ-7-2 Cube D1-12
                   |  http://www.cisco.com  | 
+------------------+------------------------+--------------------------+
This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:39 EST