On 17/10/12 15:21, Christoffer Dall wrote: > On Wed, Oct 17, 2012 at 10:12 AM, Marc Zyngier <marc.zyngier@xxxxxxx> wrote: >> On 32bit ARM, unsigned long is guaranteed to be a 32bit quantity. >> On 64bit ARM, it is a 64bit quantity. >> >> In order to be able to share code between the two architectures, >> convert the registers to be unsigned long, so the core code can >> be oblivious of the change. >> > > what will this look like if you want to run a 32-bit guests on a 64-bit machine? 32bit registers are directly mapped into the 64bit regs, so you end up accessing the 64bit version directly - the top bits will be zero. M. -- Jazz is not dead. It just smells funny... _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm