#tyndur · 2010-03-06
39 Nachrichten · Seite 1 von 1 · Original-CSV herunterladen
- eddybXanClic: yay, i just managed to get async working :D
- XanClicEHCI?
- eddybUHCI
- eddybi dropped EHCI
- eddybat least for now
- taljethWe'll get all of them eventually
- XanClicIf you think so...
- eddybi still don't understand for what are queue header good... i can use the frame list directly pointing to the TDs... their number is enough...
- XanClicBut the frame list pointers aren't updated
- XanClicQueue head link pointers are
- eddyb?
- eddybupdated by who/what?
- XanClicIf the UHC finishs a TD, it writes its next pointer into the queue head link pointer if the TD is queued
- XanClicSo the TD won't be executed twice
- XanClicBut if there's no QH, the pointer in the frame list isn't updated
- eddybah
- XanClicThat's of course useful for periodic transfers, but it isn't for asynchronous
- eddybuseful?
- XanClicYou want periodic transfers to be executed every frame of maybe every second or fourth or ... frame
- XanClicBut these transfers are everytime the same, no need to change them
- eddybbut the HC unsets the active bit...
- eddybso it won't get executed second time
- XanClicBut it has to fetch this TD, and that takes some time
- XanClicFurthermore this link pointer setting unlinks the TD from the queue
- XanClicSo you don't have to do that by hand if you want to free the required memory
- eddybit makes my code simpler this way
- eddybhmm, sync was easy, just a bit of semaphore stuff :D
- eddybmeh, i got again in one of those depressing bugs
- eddyboh, great, a stalled endpoint XD
- XanClicThat's always nice, yes ;-)
- eddybi'll have to hack qemu again to see what's wrong
- eddybfunny thing just happened to me: if i was copying the buffer after i filled in TD data, i didn't get any IRQ
- taljethRight, if the driver doesn't work, the hardware must change ;-)
- eddybnah
- eddybjust that it's not obvious what i did wrong
- eddybseeya tomorrow, anyway
- eddybit's late here
- taljethDepends on your definition of late.
- taljethAnyway, night