Messages in this thread | | | Date | Tue, 12 May 2009 11:55:28 +0200 | From | Andi Kleen <> | Subject | Re: [RFC v3][PATCH 2/2] intel_txt: Intel(R) TXT and tboot kernel support |
| |
> > > > + ((void(*)(void))(long)tboot_shared->shutdown_entry)(); > > be better? Or is shutdown_entry always mapped into [0..2GB) on
0..4GB and this code runs in a identity mapping.
> 64-bit? Even then, not sign-extending RIP addresses is wrong and > invites bugs/restrictions.
You never have to sign extend when going from 32bit to 64bit on x86-64.
-andi
-- ak@linux.intel.com -- Speaking for myself only.
| |