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.