Virtual PCI device/slot

Hi all,

How can we create a virtual PCI device from say BIOS (or is it possible). I would like to load a miniport driver for that PCI device and such would like the OS to detect that virtual PCI device.

Any hints/suggestion is much appreciated.

Thanks,
Gurpreet


Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/

Do you need a device w/out resources or do you need to have your device
enumerated and access specific resources? If it is the first one, you
don’t need the bios to enumerate a device, you can install a root
enumerated device and run your miniport on top of that.

d

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 9:57 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Virtual PCI device/slot

Hi all,

How can we create a virtual PCI device from say BIOS (or is it
possible). I would like to load a miniport driver for that PCI device
and such would like the OS to detect that virtual PCI device.

Any hints/suggestion is much appreciated.

Thanks,
Gurpreet


Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user
panel
http:_panel_invite.asp?a=7%20> and lay it on us.

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</http:>

I’m tempted to ask why you want to do this, but I suspect it will be a
lost cause.


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 12:57 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Virtual PCI device/slot

Hi all,

How can we create a virtual PCI device from say BIOS (or is it
possible). I would like to load a miniport driver for that PCI device
and such would like the OS to detect that virtual PCI device.

Any hints/suggestion is much appreciated.

Thanks,
Gurpreet


Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user
panel
http:_panel_invite.asp?a=7%20> and lay it on us.

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</http:>

If I need the device to be enumerated and access resources, how should I go about it.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 10:35:14 AM
Subject: RE: [ntdev] Virtual PCI device/slot



Do you need a device w/out resources or do you need to have your
device enumerated and access specific resources? If it is the first one, you
don?t need the bios to enumerate a device, you can install a root enumerated
device and run your miniport on top of that.

d

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand

Sent: Wednesday, August 29, 2007 9:57 AM

To: Windows System Software Devs Interest List

Subject: [ntdev] Virtual PCI device/slot

Hi
all,

How can we create a virtual PCI device from say BIOS (or is it possible). I
would like to load a miniport driver for that PCI device and such would like
the OS to detect that virtual PCI device.

Any hints/suggestion is much appreciated.

Thanks,

Gurpreet

Fussy? Opinionated? Impossible to please? Perfect. Join
Yahoo!'s user panel and lay it on us.



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



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

____________________________________________________________________________________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&amp;p=graduation+gifts&amp;cs=bz

What specific resources do you want access to? And why? If the device does not exist, I would think you want access to devices on the motherboard or motherboard resources themselves…or is this to make scsiport happy and think it has resources?

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 12:21 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

If I need the device to be enumerated and access resources, how should I go about it.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 10:35:14 AM
Subject: RE: [ntdev] Virtual PCI device/slot

Do you need a device w/out resources or do you need to have your device enumerated and access specific resources? If it is the first one, you don?t need the bios to enumerate a device, you can install a root enumerated device and run your miniport on top of that.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 9:57 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Virtual PCI device/slot

Hi all,

How can we create a virtual PCI device from say BIOS (or is it possible). I would like to load a miniport driver for that PCI device and such would like the OS to detect that virtual PCI device.

Any hints/suggestion is much appreciated.

Thanks,
Gurpreet



Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel http: and lay it on us.

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


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



Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http:

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</http:></http:>

Gurpreet Anand wrote:

If I need the device to be enumerated and access resources, how should
I go about it.

You need to give us more details about exactly what you are trying to
accomplish. This sentence could mean several different things.

If you need your driver to access resources that were assigned to
another driver, that can be done, but not using the normal interfaces.
If you want the system to PRETEND to assign you I/O and memory
resources, as if there were a real card, there is no way to do that.
You can have your AddDevice routine allocate memory from non-paged pool
instead of mapping device memory.

Give us more details, that way we can give you reasonable advice without
wasting your time and ours.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

If this is a storage miniport (scsiport/storport) it has to have resources and you should search this list as we have discussed this issue and how to implement the various hacks to get it working within the severe constraints of a virtual hba, If you mean a network miniport: I have no idea.

I think your idea of a poofed-up virtual pci device with pci resources is not going to work.


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 3:21 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

If I need the device to be enumerated and access resources, how should I go about it.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 10:35:14 AM
Subject: RE: [ntdev] Virtual PCI device/slot

Do you need a device w/out resources or do you need to have your device enumerated and access specific resources? If it is the first one, you don?t need the bios to enumerate a device, you can install a root enumerated device and run your miniport on top of that.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 9:57 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Virtual PCI device/slot

Hi all,

How can we create a virtual PCI device from say BIOS (or is it possible). I would like to load a miniport driver for that PCI device and such would like the OS to detect that virtual PCI device.

Any hints/suggestion is much appreciated.

Thanks,
Gurpreet



Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel http: and lay it on us.

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


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



Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http:

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</http:></http:>

Thanks all for replies.

I want to expose a USB flash drive as a PCI Express device instead of a USB device where I can load my miniport driver. Once exposed, I would like to access USB flash through config space.
May be weird thing to do but want to explore.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 12:47:54 PM
Subject: RE: [ntdev] Virtual PCI device/slot



What specific resources do you want access to? And why? If the
device does not exist, I would think you want access to devices on the
motherboard or motherboard resources themselves?or is this to make
scsiport happy and think it has resources?

d

From:
xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On
Behalf Of Gurpreet Anand

Sent: Wednesday, August 29, 2007 12:21 PM

To: Windows System Software Devs Interest List

Subject: Re: [ntdev] Virtual PCI device/slot

If
I need the device to be enumerated and access resources, how should I go about
it.

----- Original Message ----

From: Doron Holan

To: Windows System Software Devs Interest List

Sent: Wednesday, August 29, 2007 10:35:14 AM

Subject: RE: [ntdev] Virtual PCI device/slot

Do you need a device w/out resources or do you need to have your
device enumerated and access specific resources? If it is the first one,
you don?t need the bios to enumerate a device, you can install a root
enumerated device and run your miniport on top of that.

d

From:
xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On
Behalf Of Gurpreet Anand

Sent: Wednesday, August 29, 2007 9:57 AM

To: Windows System Software Devs Interest List

Subject: [ntdev] Virtual PCI device/slot

Hi
all,

How can we create a virtual PCI device from say BIOS (or is it possible). I
would like to load a miniport driver for that PCI device and such would like
the OS to detect that virtual PCI device.

Any hints/suggestion is much appreciated.

Thanks,

Gurpreet

Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.



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



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

Choose the right car based on your needs. Check out Yahoo!
Autos new Car Finder tool.



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



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

____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/

Gurpreet Anand wrote:

I want to expose a USB flash drive as a PCI Express device instead of
a USB device where I can load my miniport driver. Once exposed, I
would like to access USB flash through config space.
May be weird thing to do but want to explore.

It’s more than a weird thing, it is utter nonsense. USB devices don’t
have config space. A PCI driver won’t have any idea how to communicate
with a USB device – they are accessed in entirely different ways. USB
drivers must follow the USB protocols.

If you want your miniport to talk to a USB device, you will have to
modify your miniport to send USBD requests.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Needless to say, this won’t work like you want. Why hide the usb device through pci config space at all? Just to entertain this idea, who would simulate the config space for the device and trap the i/o to and from it?

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 2:07 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

Thanks all for replies.
I want to expose a USB flash drive as a PCI Express device instead of a USB device where I can load my miniport driver. Once exposed, I would like to access USB flash through config space.
May be weird thing to do but want to explore.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 12:47:54 PM
Subject: RE: [ntdev] Virtual PCI device/slot

What specific resources do you want access to? And why? If the device does not exist, I would think you want access to devices on the motherboard or motherboard resources themselves…or is this to make scsiport happy and think it has resources?

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 12:21 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

If I need the device to be enumerated and access resources, how should I go about it.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 10:35:14 AM
Subject: RE: [ntdev] Virtual PCI device/slot

Do you need a device w/out resources or do you need to have your device enumerated and access specific resources? If it is the first one, you don?t need the bios to enumerate a device, you can install a root enumerated device and run your miniport on top of that.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 9:57 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Virtual PCI device/slot

Hi all,

How can we create a virtual PCI device from say BIOS (or is it possible). I would like to load a miniport driver for that PCI device and such would like the OS to detect that virtual PCI device.

Any hints/suggestion is much appreciated.

Thanks,
Gurpreet



Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel http: and lay it on us.

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


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



Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http:

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


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

________________________________

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: http: mail, news, photos & more.

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</http:></http:></http:>

Thanks Doran.
I guess I have created some confusion but I would just like to know if there a way that the system BIOS can create a PCI Config space with specific VID/DID as soon as it sees my USB flash while the system BIOS is scanning the USB ports.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 2:34:04 PM
Subject: RE: [ntdev] Virtual PCI device/slot



Needless to say, this won?t work like you want. Why hide the
usb device through pci config space at all? Just to entertain this idea, who would
simulate the config space for the device and trap the i/o to and from it?

d

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand

Sent: Wednesday, August 29, 2007 2:07 PM

To: Windows System Software Devs Interest List

Subject: Re: [ntdev] Virtual PCI device/slot

Thanks
all for replies.

I want to expose a USB flash drive as a PCI Express device instead of a USB
device where I can load my miniport driver. Once exposed, I would like to
access USB flash through config space.

May be weird thing to do but want to explore.

----- Original Message ----

From: Doron Holan

To: Windows System Software Devs Interest List

Sent: Wednesday, August 29, 2007 12:47:54 PM

Subject: RE: [ntdev] Virtual PCI device/slot

What specific resources do you want access to? And why? If
the device does not exist, I would think you want access to devices on the
motherboard or motherboard resources themselves?or is this to make scsiport
happy and think it has resources?

d

From:
xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On
Behalf Of Gurpreet Anand

Sent: Wednesday, August 29, 2007 12:21 PM

To: Windows System Software Devs Interest List

Subject: Re: [ntdev] Virtual PCI device/slot

If
I need the device to be enumerated and access resources, how should I go about
it.

----- Original Message ----

From: Doron Holan

To: Windows System Software Devs Interest List

Sent: Wednesday, August 29, 2007 10:35:14 AM

Subject: RE: [ntdev] Virtual PCI device/slot

Do you need a device w/out resources or do you need to have your
device enumerated and access specific resources? If it is the first one,
you don?t need the bios to enumerate a device, you can install a root
enumerated device and run your miniport on top of that.

d

From:
xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On
Behalf Of Gurpreet Anand

Sent: Wednesday, August 29, 2007 9:57 AM

To: Windows System Software Devs Interest List

Subject: [ntdev] Virtual PCI device/slot

Hi
all,

How can we create a virtual PCI device from say BIOS (or is it possible). I
would like to load a miniport driver for that PCI device and such would like
the OS to detect that virtual PCI device.

Any hints/suggestion is much appreciated.

Thanks,

Gurpreet

Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.



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



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

Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.



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



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

Take the Internet to Go: Yahoo!Go puts the Internet
in your pocket: mail, news, photos & more.



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



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

____________________________________________________________________________________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&amp;p=graduation+gifts&amp;cs=bz

Gurpreet Anand wrote:

I guess I have created some confusion but I would just like to know if
there a way that the system BIOS can create a PCI Config space with
specific VID/DID as soon as it sees my USB flash while the system BIOS
is scanning the USB ports.

No. The BIOS doesn’t “create” PCI config spaces at all. The config
space is part of each PCI device. Also, the BIOS support for USB is
extremely primitive. Most devices are not supported at all until an
operating system comes up and takes over the USB duties.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

If you could write the bios, you could /maybe/ get this to work, but even if you did, that is way too much work to get this working where a simpler solution is probably there. In short, I would not pursue this further due to the complexity and tremendous amount of code that you would have to do before you could make fwd progress.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 3:50 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

Thanks Doran.
I guess I have created some confusion but I would just like to know if there a way that the system BIOS can create a PCI Config space with specific VID/DID as soon as it sees my USB flash while the system BIOS is scanning the USB ports.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 2:34:04 PM
Subject: RE: [ntdev] Virtual PCI device/slot

Needless to say, this won’t work like you want. Why hide the usb device through pci config space at all? Just to entertain this idea, who would simulate the config space for the device and trap the i/o to and from it?

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 2:07 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

Thanks all for replies.
I want to expose a USB flash drive as a PCI Express device instead of a USB device where I can load my miniport driver. Once exposed, I would like to access USB flash through config space.
May be weird thing to do but want to explore.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 12:47:54 PM
Subject: RE: [ntdev] Virtual PCI device/slot

What specific resources do you want access to? And why? If the device does not exist, I would think you want access to devices on the motherboard or motherboard resources themselves…or is this to make scsiport happy and think it has resources?

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 12:21 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

If I need the device to be enumerated and access resources, how should I go about it.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 10:35:14 AM
Subject: RE: [ntdev] Virtual PCI device/slot

Do you need a device w/out resources or do you need to have your device enumerated and access specific resources? If it is the first one, you don?t need the bios to enumerate a device, you can install a root enumerated device and run your miniport on top of that.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 9:57 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Virtual PCI device/slot

Hi all,

How can we create a virtual PCI device from say BIOS (or is it possible). I would like to load a miniport driver for that PCI device and such would like the OS to detect that virtual PCI device.

Any hints/suggestion is much appreciated.

Thanks,
Gurpreet



Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel http: and lay it on us.

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


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



Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http:

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


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



Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: http: mail, news, photos & more.

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


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



Yahoo! oneSearch: Finally, mobile search that gives answers http: , not web links.

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</http:></http:></http:></http:>

Are you saying that you want to know if a standard PC BIOS would happen to know how to essentially emulate a PCI configuration space with a specific VID/DID in response to the insertion of a specific USB device? Well, no. The PCI config space is part of the device, and doesn’t really have anything to do with the BIOS, and unless I’m missing something, this is sort of like expecting a monitor to somehow know how to emulate a disk drive, based on changing a few settings in the BIOS. . If for some reason you are hell bent on doing this, the only way I could possibly imagine this being accomplished in software at the level you wish would be to do something truly perverse, complicated, speculative, chipset specific and almost certain to fail, like emulate this sort of arrangement using the SMI, if your chipset would allow you to trap on certain IO and redirect to the SMI, which some do, but I seriously doubt that would work either.

mm


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 18:50
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

Thanks Doran.
I guess I have created some confusion but I would just like to know if there a way that the system BIOS can create a PCI Config space with specific VID/DID as soon as it sees my USB flash while the system BIOS is scanning the USB ports.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 2:34:04 PM
Subject: RE: [ntdev] Virtual PCI device/slot

Needless to say, this won’t work like you want. Why hide the usb device through pci config space at all? Just to entertain this idea, who would simulate the config space for the device and trap the i/o to and from it?

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 2:07 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

Thanks all for replies.
I want to expose a USB flash drive as a PCI Express device instead of a USB device where I can load my miniport driver. Once exposed, I would like to access USB flash through config space.
May be weird thing to do but want to explore.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 12:47:54 PM
Subject: RE: [ntdev] Virtual PCI device/slot

What specific resources do you want access to? And why? If the device does not exist, I would think you want access to devices on the motherboard or motherboard resources themselves…or is this to make scsiport happy and think it has resources?

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 12:21 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

If I need the device to be enumerated and access resources, how should I go about it.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 10:35:14 AM
Subject: RE: [ntdev] Virtual PCI device/slot

Do you need a device w/out resources or do you need to have your device enumerated and access specific resources? If it is the first one, you don?t need the bios to enumerate a device, you can install a root enumerated device and run your miniport on top of that.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 9:57 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Virtual PCI device/slot

Hi all,

How can we create a virtual PCI device from say BIOS (or is it possible). I would like to load a miniport driver for that PCI device and such would like the OS to detect that virtual PCI device.

Any hints/suggestion is much appreciated.

Thanks,
Gurpreet



Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel http: and lay it on us.

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


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



Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http:

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


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



Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: http: mail, news, photos & more.

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


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



Yahoo! oneSearch: Finally, mobile search that gives answers http: , not web links.

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</http:></http:></http:></http:>

No I am not talking about Standard PC BIOS but exploring if BIOS can do it.
I guess I got my answers.
Thanks

----- Original Message ----
From: Martin O’Brien
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 4:13:47 PM
Subject: RE: [ntdev] Virtual PCI device/slot



Are you saying that you want to know if a
standard PC BIOS would happen to know how to essentially emulate a PCI configuration
space with a specific VID/DID in response to the insertion of a specific USB
device? Well, no. The PCI config space is part of the device, and doesn’t
really have anything to do with the BIOS, and unless I’m missing something, this
is sort of like expecting a monitor to somehow know how to emulate a disk drive,
based on changing a few settings in the BIOS. . If for some reason you are
hell bent on doing this, the only way I could possibly imagine this being
accomplished in software at the level you wish would be to do something truly
perverse, complicated, speculative, chipset specific and almost certain to fail,
like emulate this sort of arrangement using the SMI, if your chipset would
allow you to trap on certain IO and redirect to the SMI, which some do, but I seriously
doubt that would work either.

mm

From:
xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand

Sent: Wednesday, August 29, 2007
18:50

To: Windows
System Software Devs Interest List

Subject: Re: [ntdev] Virtual PCI
device/slot

Thanks Doran.

I guess I have created some confusion but I would just like to know if there a
way that the system BIOS can create a PCI Config space with specific VID/DID as
soon as it sees my USB flash while the system BIOS is scanning the USB ports.

----- Original Message
----

From: Doron Holan

To: Windows System Software Devs Interest List


Sent: Wednesday, August 29, 2007 2:34:04 PM

Subject: RE: [ntdev] Virtual PCI device/slot

Needless to say, this won?t
work like you want. Why hide the usb device through pci config space at
all? Just to entertain this idea, who would simulate the config
space for the device and trap the i/o to and from it?

d

From:
xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand

Sent: Wednesday, August 29, 2007
2:07 PM

To: Windows
System Software Devs Interest List

Subject: Re: [ntdev] Virtual PCI
device/slot

Thanks all for replies.

I want to expose a USB flash drive as a PCI Express device instead of a USB
device where I can load my miniport driver. Once exposed, I would like to
access USB flash through config space.

May be weird thing to do but want to explore.

----- Original Message
----

From: Doron Holan

To: Windows System Software Devs Interest List


Sent: Wednesday, August 29, 2007 12:47:54 PM

Subject: RE: [ntdev] Virtual PCI device/slot

What specific
resources do you want access to? And why? If the device does not exist, I
would think you want access to devices on the motherboard or motherboard
resources themselves?or is this to make scsiport happy and think it has
resources?

d

From:
xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand

Sent: Wednesday, August 29, 2007
12:21 PM

To: Windows
System Software Devs Interest List

Subject: Re: [ntdev] Virtual PCI
device/slot

If I need the device to be
enumerated and access resources, how should I go about it.

----- Original Message
----

From: Doron Holan

To: Windows System Software Devs Interest List


Sent: Wednesday, August 29, 2007 10:35:14 AM

Subject: RE: [ntdev] Virtual PCI device/slot

Do you need a device
w/out resources or do you need to have your device enumerated and access
specific resources? If it is the first one, you don?t need the bios to
enumerate a device, you can install a root enumerated device and run your
miniport on top of that.

d

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On
Behalf Of Gurpreet Anand

Sent: Wednesday, August 29, 2007
9:57 AM

To: Windows
System Software Devs Interest List

Subject: [ntdev] Virtual PCI
device/slot

Hi all,

How can we create a virtual PCI device from say BIOS (or is it possible). I
would like to load a miniport driver for that PCI device and such would like
the OS to detect that virtual PCI device.

Any hints/suggestion is much appreciated.

Thanks,

Gurpreet

Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.



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



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

Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.



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



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

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.



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



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

Yahoo! oneSearch: Finally, mobile
search that gives answers, not web links.



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



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

____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/

Thanks all for taking the time out to answer.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 4:09:11 PM
Subject: RE: [ntdev] Virtual PCI device/slot



If you could write the bios, you could /maybe/ get this to work,
but even if you did, that is way too much work to get this working where a
simpler solution is probably there. In short, I would not pursue this further
due to the complexity and tremendous amount of code that you would have to do
before you could make fwd progress.

d

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand

Sent: Wednesday, August 29, 2007 3:50 PM

To: Windows System Software Devs Interest List

Subject: Re: [ntdev] Virtual PCI device/slot

Thanks
Doran.

I guess I have created some confusion but I would just like to know if there a
way that the system BIOS can create a PCI Config space with specific VID/DID as
soon as it sees my USB flash while the system BIOS is scanning the USB ports.

----- Original Message ----

From: Doron Holan

To: Windows System Software Devs Interest List

Sent: Wednesday, August 29, 2007 2:34:04 PM

Subject: RE: [ntdev] Virtual PCI device/slot

Needless to say, this won?t work like you want. Why hide
the usb device through pci config space at all? Just to entertain this
idea, who would simulate the config space for the device and trap the i/o
to and from it?

d

From:
xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On
Behalf Of Gurpreet Anand

Sent: Wednesday, August 29, 2007 2:07 PM

To: Windows System Software Devs Interest List

Subject: Re: [ntdev] Virtual PCI device/slot

Thanks
all for replies.

I want to expose a USB flash drive as a PCI Express device instead of a USB
device where I can load my miniport driver. Once exposed, I would like to
access USB flash through config space.

May be weird thing to do but want to explore.

----- Original Message ----

From: Doron Holan

To: Windows System Software Devs Interest List

Sent: Wednesday, August 29, 2007 12:47:54 PM

Subject: RE: [ntdev] Virtual PCI device/slot

What specific resources do you want access to? And why? If
the device does not exist, I would think you want access to devices on the
motherboard or motherboard resources themselves?or is this to make scsiport
happy and think it has resources?

d

From:
xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On
Behalf Of Gurpreet Anand

Sent: Wednesday, August 29, 2007 12:21 PM

To: Windows System Software Devs Interest List

Subject: Re: [ntdev] Virtual PCI device/slot

If
I need the device to be enumerated and access resources, how should I go about
it.

----- Original Message ----

From: Doron Holan

To: Windows System Software Devs Interest List

Sent: Wednesday, August 29, 2007 10:35:14 AM

Subject: RE: [ntdev] Virtual PCI device/slot

Do you need a device w/out resources or do you need to have your
device enumerated and access specific resources? If it is the first one,
you don?t need the bios to enumerate a device, you can install a root
enumerated device and run your miniport on top of that.

d

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand

Sent: Wednesday, August 29, 2007 9:57 AM

To: Windows System Software Devs Interest List

Subject: [ntdev] Virtual PCI device/slot

Hi
all,

How can we create a virtual PCI device from say BIOS (or is it possible). I
would like to load a miniport driver for that PCI device and such would like
the OS to detect that virtual PCI device.

Any hints/suggestion is much appreciated.

Thanks,

Gurpreet

Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.



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



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

Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.



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



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

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.



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



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

Yahoo! oneSearch: Finally, mobile
search that gives answers, not web links.



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



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

____________________________________________________________________________________
Sick sense of humor? Visit Yahoo! TV’s
Comedy with an Edge to see what’s on, when.
http://tv.yahoo.com/collections/222

If you’re going the BIOS route, you might want to check out this site: http://www.gensw.com/index.htm. The make BIOS/embedded kits, including some USB support. It may not help with what you wish to do, and it also may be outrageously expensive; I don’t know, but it’s probably worth a look, as might be AMI.

mm


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 19:25
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

Thanks all for taking the time out to answer.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 4:09:11 PM
Subject: RE: [ntdev] Virtual PCI device/slot

If you could write the bios, you could /maybe/ get this to work, but even if you did, that is way too much work to get this working where a simpler solution is probably there. In short, I would not pursue this further due to the complexity and tremendous amount of code that you would have to do before you could make fwd progress.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 3:50 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

Thanks Doran.
I guess I have created some confusion but I would just like to know if there a way that the system BIOS can create a PCI Config space with specific VID/DID as soon as it sees my USB flash while the system BIOS is scanning the USB ports.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 2:34:04 PM
Subject: RE: [ntdev] Virtual PCI device/slot

Needless to say, this won’t work like you want. Why hide the usb device through pci config space at all? Just to entertain this idea, who would simulate the config space for the device and trap the i/o to and from it?

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 2:07 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

Thanks all for replies.
I want to expose a USB flash drive as a PCI Express device instead of a USB device where I can load my miniport driver. Once exposed, I would like to access USB flash through config space.
May be weird thing to do but want to explore.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 12:47:54 PM
Subject: RE: [ntdev] Virtual PCI device/slot

What specific resources do you want access to? And why? If the device does not exist, I would think you want access to devices on the motherboard or motherboard resources themselves…or is this to make scsiport happy and think it has resources?

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 12:21 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

If I need the device to be enumerated and access resources, how should I go about it.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 10:35:14 AM
Subject: RE: [ntdev] Virtual PCI device/slot

Do you need a device w/out resources or do you need to have your device enumerated and access specific resources? If it is the first one, you don?t need the bios to enumerate a device, you can install a root enumerated device and run your miniport on top of that.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 9:57 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Virtual PCI device/slot

Hi all,

How can we create a virtual PCI device from say BIOS (or is it possible). I would like to load a miniport driver for that PCI device and such would like the OS to detect that virtual PCI device.

Any hints/suggestion is much appreciated.

Thanks,
Gurpreet



Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel http: and lay it on us.

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


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



Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http:

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


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



Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: http: mail, news, photos & more.

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


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



Yahoo! oneSearch: Finally, mobile search that gives answers http: , not web links.

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


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

________________________________

Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games. http:</http:>

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</http:></http:></http:></http:>

Gupreet, you still haven’t told us what you think the end result of your
exploration will be. You will get useful advice here when you answer the
following question:

“What makes a PCI device more interesting to you than a USB device. I.e.
why do you care what interface the OS sees?”

If your desire is for the BIOS to trigger the loading of a driver, that’s
trivial. Add a node in the ACPI BIOS with the PnP ID for your driver. The
PnP manager will pick it up (with help from the ACPI driver) and load
whatever driver your INF specifies.

If your desire is to expose a PCI device to test a future piece of similar
hardware that you want to back with your existing USB hardware, that’s
probably near impossible using the BIOS. You can come close to it with the
SMI handler in the BIOS. But the SMI handler can’t back MMIO registers and
it can’t really translate backplane-bus device usage models into packet-bus
device usage models as you would need to do moving from PCI to USB.

If your desire is to fool some piece of Windows code that expects to see a
PCI device (as in scsiport) then say so. The people here have lots of
advice on that.

We really will help if you tell us what you actually want.

  • Jake Oshins
    Windows Kernel Guy

“Gurpreet Anand” wrote in message
news:xxxxx@ntdev…
Thanks Doran.
I guess I have created some confusion but I would just like to know if there
a way that the system BIOS can create a PCI Config space with specific
VID/DID as soon as it sees my USB flash while the system BIOS is scanning
the USB ports.

----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 2:34:04 PM
Subject: RE: [ntdev] Virtual PCI device/slot

Needless to say, this won’t work like you want. Why hide the usb device
through pci config space at all? Just to entertain this idea, who would
simulate the config space for the device and trap the i/o to and from it?

d

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 2:07 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

Thanks all for replies.
I want to expose a USB flash drive as a PCI Express device instead of a USB
device where I can load my miniport driver. Once exposed, I would like to
access USB flash through config space.
May be weird thing to do but want to explore.
----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 12:47:54 PM
Subject: RE: [ntdev] Virtual PCI device/slot
What specific resources do you want access to? And why? If the device does
not exist, I would think you want access to devices on the motherboard or
motherboard resources themselves…or is this to make scsiport happy and think
it has resources?

d

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 12:21 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Virtual PCI device/slot

If I need the device to be enumerated and access resources, how should I go
about it.
----- Original Message ----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Wednesday, August 29, 2007 10:35:14 AM
Subject: RE: [ntdev] Virtual PCI device/slot
Do you need a device w/out resources or do you need to have your device
enumerated and access specific resources? If it is the first one, you don¢t
need the bios to enumerate a device, you can install a root enumerated
device and run your miniport on top of that.

d

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gurpreet Anand
Sent: Wednesday, August 29, 2007 9:57 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Virtual PCI device/slot

Hi all,

How can we create a virtual PCI device from say BIOS (or is it possible). I
would like to load a miniport driver for that PCI device and such would like
the OS to detect that virtual PCI device.

Any hints/suggestion is much appreciated.

Thanks,
Gurpreet

Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel
and lay it on us.

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


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

Choose the right car based on your needs. Check out Yahoo! Autos new Car
Finder tool.

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


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

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail,
news, photos & more.

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


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

Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.