[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: What is memory allocation boundery in Dindows?



Hi Daev,
I think your answer and several others' are TOTALLY WRONG!

I designed a memory board with 1GBytes of SDRAM memory and have no any
trouble under UNIX and Windows.

I think your driver technique is not sophisticated enough to properly
deal with the situation.

Weng Tianxiang

wtx@umem.com
wengtianxiang@yahoo.com

Micro Memory Inc.
9540 Vassar Avenue
Chatsworth, CA 91311
Tel: 818-998-0070
Fax: 818-998-4459


-----Original Message-----
From: Daev Roehr [mailto:daevr@atc.creative.com] 
Sent: Wednesday, April 24, 2002 4:17 PM
To: Henry Gong
Cc: pci-sig@znyx.com
Subject: Re: What is memory allocation boundery in Dindows?


Henry,
>     Due to the special design of our PCI card, our Windows driver 
> needs to allocate memory in a large size boundary. What is the memory 
> boundary size in Windows? It seems to be 4KB in Unix. Is this the case

> in Windows?
Yes. 
MAX_PAGE_SIZE is a system define in NT/XP. It's been 4K (4096 bytes)
since day one; it's unlikely to change in the IA32 world. MAX_PAGE_SIZE
is also the maximum size of physically contiguous memory you should
count on for a WindowsNT/XP system. To use larger amounts of memeory,
your PCI card needs to have its own page table system.

-- 
regards,
_daev

 * * * * * * * * * * * * * * * * * * * * *
   Creative Advanced Technology Center
  Daev Roehr, Liaison Engineer ala mode
 daevr@atc.creative.com - 831.440.2832
"Stanley looked quite bored and somewhat 
 detached, but then penguins often do."
     Edward Bulwar Lytton prize