Skip to contentSkip to conversation

Available patch: ARM: arm920t: Allow use of 'gd' pointer from IRQ

U-Boot-Users Peter Pearse 1 participant 1 message Jan 30, 2008

lore
Share & tools
lore
#0 lore raw

Harald

Your patch

ARM: arm920t: Allow use of 'gd' pointer from IRQ

is available for test from

git://linux-arm.org/u-boot-armdev.git#071219_s3c24_gd

Please confirm that the code builds, and runs on the target board(s)

Just in case you weren't aware, the gd pointer will not be available in FIQ interrupts
unless you add some code to initialize it (and ensure fiq r8 is preserved in any FIQ handlers)

I shall submit a patch in future to change the ARM gd pointer to r7.

This will allow
a) The gd pointer to to be accessed in both IRQ & FIQ handlers, without added initialization code
b) Thumb & Thumb-2 compilation without code change in this area
c) Support for future ARM architectures.

Regards

Peter