On Tue, 2007-10-30 at 15:58 +, Denys Vlasenko wrote:
> On Tuesday 30 October 2007 05:55, Huang, Ying wrote:
> > +static inline unsigned long native_get_wallclock(void)
> > +{
> > + unsigned long retval;
> > +
> > + if (efi_enabled)
> > + retval = efi_get_time();
> > + else
> > +
On Tue, 30 Oct 2007, Denys Vlasenko wrote:
> mach_get_cmos_time() is itself an inline, and a _large_ one
> (~20 LOC with macro and function calls).
>
> Same here, only mach_set_rtc_mmss is 50 LOC, not 20.
It was:)
http://git.kernel.org/?p=linux/kernel/git/x86/linux-2.6-x86.git;a=commit;h=3ea9de
On Tuesday 30 October 2007 05:55, Huang, Ying wrote:
> +static inline unsigned long native_get_wallclock(void)
> +{
> + unsigned long retval;
> +
> + if (efi_enabled)
> + retval = efi_get_time();
> + else
> + retval = mach_get_cmos_time();
> +
> + return retv
This patch adds support for several EFI runtime services for EFI
x86_64 system.
The EFI support for emergency_restart and RTC clock is added. The EFI
based implementation and legacy BIOS or CMOS based implementation are
put in separate functions and can be chosen with kernel boot options.
Signed-
4 matches
Mail list logo