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: [Apple16X50Serial] How to prevent HW buffer overflows?



The standard way of handling interrupts in IOKit is to queue them and service them when the driver gets scheduled.

Now I understand better, thanks. I/O Kit Fundamentals, chapter Handling Interrupts


This works very well for devices with large FIFOs, but not so well for devices with small FIFOs.

We hoped Apple's driver would be enough. But I am curious why we have problems with the 128 FIFO PC Card, too. It does not give a hardware buffer overrun event, but worse the Apple16X50UARTSync::dequeueData() seems to hang forever. Perhaps we have data loss, too, but it is not signalled and dequeueData() waits but the expected data amount does not arrive. What is a large FIFO? 128 should be a recent one. Unfortunately we are only designing the generic driver in an university project.

Is there any hope, Apple adds this functionality? I know, Apple won't comment this.
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.
References: 
 >Re: [Apple16X50Serial] How to prevent HW buffer overflows? (From: Amanda Walker <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.