Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OS X IOKit equivalent for IRP_MN_QUERY_RESOURCE_REQUIREMENTS?



Title: Re: OS X IOKit equivalent for IRP_MN_QUERY_RESOURCE_REQUIR
Hi Jason, thanks for the info:

At 2:12 PM -0700 5/11/07, Jason Seng wrote:
PCI devices are probed and resources assigned at boot time, i.e. before the OS loads.

Doh!  That's what I was afraid of...

In my case, the hardware on our PCI device says it needs a 128 MB 
memory window (which is what shows up in the IO registry for 
IODeviceMemory for the device).  However, for the way we are using 
the device, we don't actually need to use that entire memory window, 
so we'd like to tell the OS that we only *really* need, say, 32 MB.

For Open Firmware you could provide an FCode driver that can override the address space size requested by a BAR.

Apparently similar functionality is not available in EFI. :(

Double-doh!
Without changing the hardware, if possible. :)

Well, your hardware should request what it actually needs ;)

Yeah, I know... it's one of those legacy hardware situations.  But at least on the bright side it's now officially not my problem. :)  I'll go back to the hardware guys and see what we can do.

My Windows counterparts are making fun of me because they can do this 
in Windows...

<sigh>

It's OK, IOKit provides plenty of opportunities to hassling in the other direction!

Thanks,
Jim
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden

References: 
 >Re: OS X IOKit equivalent for IRP_MN_QUERY_RESOURCE_REQUIREMENTS? (From: Jason Seng <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.