Can anyone here recomend a good resource to learn ia64 assembly.
I need to make some fairly minor adjustments to some kernel code,
but my attempts thus far have been an abismal failure.

Basically, I want to change relocate_new_kernel so that it takes its
physical address as an argument rather than deriving it from the ip.
This is because I want to run the code in the xen hypervisor, where the
virtual->physical mapping is different (mask the top 4 bits instead of
3), so its more convenient to rely on __pa() in the calling C code. I
got as far as passing an additional argument in, but any modifications I
make to relocate_new_kernel beyond that cause it to stop functioning :(

http://www.kernel.org/git/?p=linux/kernel/git/aegl/linux-2.6.git;a=blob;h=09bd041a61575bcd1de537d6fbfcc2dfc067762b;hb=test;f=arch/ia64/kernel/relocate_kernel.S


-- 
Horms                                           
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


_______________________________________________
coders mailing list
[email protected]
http://lists.slug.org.au/listinfo/coders

Reply via email to