Re: 2.3.99-pre8 misc alpha patches

From: Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Date: Thu May 25 2000 - 08:36:51 EST


On Thu, May 25, 2000 at 08:39:58AM +0200, Metod Kozelj wrote:
> 2. It didn't compile for me. Compilation got stuck while compiling
> sx164_init_arch() with an error message something like 'as: invalid
> command in line xxx'. When I omitted that part (I don't care about
> motion extensions), it compiled OK.

Heh. GAS from binutils-2.9.1 doesn't understand 'palXX' mnemonics.

- "pal19 0x118\n" /* hw_mfpr $0,icsr */
+ ".long 0x64000118\n" /* hw_mfpr $0,icsr */

- "pal1d 0x118\n" /* hw_mtpr $0,icsr */
+ ".long 0x74000118\n" /* hw_mtpr $0,icsr */

> However, when I do 'shutdown -h', weird thing happens: SRM complains
> about HWRPB being invalid.

I forgot that hwrpb is checksum protected.

        hwrpb->cycle_freq = ((cc1 >> 11) * 100000000UL) / 3;
+ hwrpb_update_checksum(hwrpb);

should fix that.

Ivan.



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:31 EST