Re: Mapping large PCMCIA common memory in NDIS miniport

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Seung Yi (seungyi_at_codetelligence_NOSPAMMERS_.com)
Date: 04/01/04


Date: Thu, 01 Apr 2004 10:33:01 -0800

The problem will even be more extensive as the size of the PCMCIA memory
window is platform specific. Generally you should have enough window space
as early Flash cards were flash chip arrays mapped into the local
processor space (up to 64MB). But as these cards become more scarce there
isn't much of a need to make the window large anymore. You could try to
take the base address which should just be the physical address (system
bus address) and perform your own virtualalloc/copy. You also have to
consider that you are operating in the device.exe process, you could be
running out of virtual memory or mapping resources.

On Wed, 31 Mar 2004 23:21:07 -0800, JM Son
<minibrain(removethis_nospam)@hotmail.com> wrote:

> Dear all,
>
> I'm porting PCMCIA wireless LAN adapter to Windows CE 4.2 on Samsung
> SMDK2410 board
>
> Since, our PCMCIA adapter use large common memmory about 2.25MB,
> I tried to map common memory space in MiniportInitialize() with
> NdisMMapIoSpace() function like this:
> --------------------
> Status = NdisMMapIoSpace( (PVOID *)(&(pAdapter->pMemVirtual)),
> pAdapter->MiniportAdapterHandle,
> pAdapter->MemBaseAddr,
> pAdapter->MemSpaceSize); // MemSpaceSize =
> 0x240000
> -------------------
> but, this code generates OUT_OF_RESOURCE error.
>
> I suppose that the reason of error is the memory size is too large.
>
> Is it possible to map such large size of PCMCIA common memory?
> If possible, how can I do that?
>
>
> Thanks in advance...

-- 
Seung Yi
Chief Technologist
Codetelligence, Inc.
Web   : www.codetelligence.com


Relevant Pages

  • How do I debug PCI resource allocation problems
    ... problems on a new mainboard with Intel Q35 chipset and a shared memory ... <7>PCI: ... MEM window: disabled. ... VESA VGA frame buffer device ...
    (Linux-Kernel)
  • Re: APM (or ACPI) on an Acer TravelMate 280 (RH9)
    ... Red Hat Linux does not seem to like your laptop's BIOS and PCMCIA ... compile your own kernel in order to get ACPI and PCMCIA working. ... This will open a new window, in this window type in something like the ...
    (comp.os.linux.portable)
  • Re: Want Help in making a Text Editor
    ... your memory copy and one containing everything after it. ... multiple windows/files.... ... said) is when the text editor will be working on a file and consuming ... inthe "window") and putting the rest on another file will solve the ...
    (comp.os.msdos.programmer)
  • Re: How do I debug PCI resource allocation problems
    ... problems on a new mainboard with Intel Q35 chipset and a shared memory graphics card. ... Calibrating delay using timer specific routine.. ... MEM window: disabled. ...
    (Linux-Kernel)
  • Re: System Reboots
    ... Some have indicated memory dump, but this latest blue screen does not ... Maybe that BIOS upgrade has solidified... ... waiting to see if it reboots again. ... In the Startup and Recovery window ...
    (microsoft.public.windowsxp.basics)