Viewing PCMCIA attribute memory in WinDbg

I’ve plunged into some code I haven’t looked at in years for a PCMCIA card.
I can’t remember how to view attribute memory space interactively in WinDbg.
Everything I’ve tried fails to access valid memory. Device Manager shows
windows from FE000-FEFFF and FF000-FFFFF assigned to the card. I’m probably
doing something dumb, but the cobwebs are pretty thick on this particular
topic for me.

From the LogConfig PCMCIA override in the INF:
MemConfig = xxxxx@0-FFFFFFFFFFFFFFFF%1000(RW
mailto:xxxxx )
MemConfig = xxxxx@0-FFFFFFFFFFFFFFFF%1000(RW
mailto:xxxxx )
IRQConfig = 3,4,5,7,9,10,11,12,15
MfCardConfig = 400:0D:0
MfCardConfig = 420:15:1
PcCardConfig = 0:0:0(AA)

The target machine is Win7 64-bit.

Thanks for any help…

Chris Myers</mailto:xxxxx></mailto:xxxxx>

“Chris Myers” wrote in message
news:xxxxx@ntdev…
> I’ve plunged into some code I haven’t looked at in years for a PCMCIA
> card.
> I can’t remember how to view attribute memory space interactively in
> WinDbg.
> Everything I’ve tried fails to access valid memory. Device Manager shows
> windows from FE000-FEFFF and FF000-FFFFF assigned to the card. I’m
> probably
> doing something dumb, but the cobwebs are pretty thick on this particular
> topic for me.
>
> From the LogConfig PCMCIA override in the INF:
> MemConfig = xxxxx@0-FFFFFFFFFFFFFFFF%1000(RW)
> MemConfig = xxxxx@0-FFFFFFFFFFFFFFFF%1000(RW)
> IRQConfig = 3,4,5,7,9,10,11,12,15
> MfCardConfig = 400:0D:0
> MfCardConfig = 420:15:1
> PcCardConfig = 0:0:0(AA)
>
> The target machine is Win7 64-bit.
>
> Thanks for any help…
>
> Chris Myers

Ah, nostalgy! :slight_smile:
IIRC windbg cannot directly display the attrib memory, unless someone maps
it first.
Extensions !exca and !cbregs may be helpful.
Have you mapped it in your driver (START_DEVICE)?

–pa

!Devnode 0 1 to find your devnode, !devnode ptr ffff

d

dent from a phine with no keynoard

-----Original Message-----
From: Pavel A.
Sent: Friday, March 18, 2011 5:20 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Viewing PCMCIA attribute memory in WinDbg

“Chris Myers” wrote in message
news:xxxxx@ntdev…
> I’ve plunged into some code I haven’t looked at in years for a PCMCIA
> card.
> I can’t remember how to view attribute memory space interactively in
> WinDbg.
> Everything I’ve tried fails to access valid memory. Device Manager shows
> windows from FE000-FEFFF and FF000-FFFFF assigned to the card. I’m
> probably
> doing something dumb, but the cobwebs are pretty thick on this particular
> topic for me.
>
> From the LogConfig PCMCIA override in the INF:
> MemConfig = xxxxx@0-FFFFFFFFFFFFFFFF%1000(RW)
> MemConfig = xxxxx@0-FFFFFFFFFFFFFFFF%1000(RW)
> IRQConfig = 3,4,5,7,9,10,11,12,15
> MfCardConfig = 400:0D:0
> MfCardConfig = 420:15:1
> PcCardConfig = 0:0:0(AA)
>
> The target machine is Win7 64-bit.
>
> Thanks for any help…
>
> Chris Myers

Ah, nostalgy! :slight_smile:
IIRC windbg cannot directly display the attrib memory, unless someone maps
it first.
Extensions !exca and !cbregs may be helpful.
Have you mapped it in your driver (START_DEVICE)?

–pa


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer