Re: [PATCH -mm 1/4 -v6] x86_64 EFI runtime service support: EFI basic runtime service support

2007-11-27 Thread Huang, Ying
On Tue, 2007-11-27 at 02:02 -0800, Andrew Morton wrote: > > + > > +static pgd_t save_pgd __initdata; > > +static unsigned long efi_flags __initdata; > > +/* efi_lock protects efi physical mode call */ > > +static __initdata DEFINE_SPINLOCK(efi_lock); > > It's peculiar to have a spinlock in

Re: [PATCH -mm 1/4 -v6] x86_64 EFI runtime service support: EFI basic runtime service support

2007-11-27 Thread Andrew Morton
On Mon, 26 Nov 2007 16:23:41 +0800 "Huang, Ying" <[EMAIL PROTECTED]> wrote: > This patch adds basic runtime services support for EFI x86_64 > system. The main file of the patch is the addition of efi_64.c for > x86_64. This file is modeled after the EFI IA32 avatar. EFI runtime > services

Re: [PATCH -mm 1/4 -v6] x86_64 EFI runtime service support: EFI basic runtime service support

2007-11-27 Thread Andrew Morton
On Mon, 26 Nov 2007 16:23:41 +0800 Huang, Ying [EMAIL PROTECTED] wrote: This patch adds basic runtime services support for EFI x86_64 system. The main file of the patch is the addition of efi_64.c for x86_64. This file is modeled after the EFI IA32 avatar. EFI runtime services initialization

Re: [PATCH -mm 1/4 -v6] x86_64 EFI runtime service support: EFI basic runtime service support

2007-11-27 Thread Huang, Ying
On Tue, 2007-11-27 at 02:02 -0800, Andrew Morton wrote: + +static pgd_t save_pgd __initdata; +static unsigned long efi_flags __initdata; +/* efi_lock protects efi physical mode call */ +static __initdata DEFINE_SPINLOCK(efi_lock); It's peculiar to have a spinlock in __initdata. Often

[PATCH -mm 1/4 -v6] x86_64 EFI runtime service support: EFI basic runtime service support

2007-11-26 Thread Huang, Ying
This patch adds basic runtime services support for EFI x86_64 system. The main file of the patch is the addition of efi_64.c for x86_64. This file is modeled after the EFI IA32 avatar. EFI runtime services initialization are implemented in efi_64.c. Some x86_64 specifics are worth noting here. On

[PATCH -mm 1/4 -v6] x86_64 EFI runtime service support: EFI basic runtime service support

2007-11-26 Thread Huang, Ying
This patch adds basic runtime services support for EFI x86_64 system. The main file of the patch is the addition of efi_64.c for x86_64. This file is modeled after the EFI IA32 avatar. EFI runtime services initialization are implemented in efi_64.c. Some x86_64 specifics are worth noting here. On