lkml.org 
[lkml]   [2003]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH][2.6][2/5]Support for HPET based timer
From
Date
On Wed, 2003-08-20 at 03:01, Andi Kleen wrote:
> Vojtech Pavlik <vojtech@suse.cz> writes:
>
> > On Tue, Aug 19, 2003 at 05:18:50PM -0700, Pallipadi, Venkatesh wrote:
> >
> > > Fixmap is for HPET memory map address access. As the timer
> > > initialization happen
> > > early in the boot sequence (before vm initialization), we need to have
> > > fixmap()
> > > and fix_to_virt() to access HPET memory map address.
> >
> > Ahh, yes, you're right. You can't use ioremap at that time. Actually I
> > did the same on x86_64 not only because of vsyscalls.
>
> iirc i386 has an ioremap_early or somesuch.

Yep, we have boot_ioremap(). It's used to do ioremap() even while we're
still using the original early boot pagetables (before paging_init()):
arch/i386/mm/boot_ioremap.c

--
Dave Hansen
haveblue@us.ibm.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.046 / U:3.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site