> The largest structure I can think of at the moment, that I'd
> like to keep contiguous is say a full GDT (64K).  Am I going
> to run into troubles trying to get something <=64K allocated
> from any of the host kernels, but which is contiguous?

Physically or virtually contiguous?

With Linux, I think there's a 128K limit on physically contigous
allocations.  Virtually contiguous areas can be arbitrarily large 
(using vmalloc).

> If this is a pain, I could place static variable declarations
> in the kernel code, and use that memory instead.  

Eh, static variables are not necessarily physically contiguous ...

Bye,
Ulrich

-- 
  Ulrich Weigand,
  IMMD 1, Universitaet Erlangen-Nuernberg,
  Martensstr. 3, D-91058 Erlangen, Phone: +49 9131 85-7688

Reply via email to