You are browsing as a guest. Sign up (or log in) to start making projects!

7h 7m 4s logged

the port resets work on the laptop now. the bit we were waiting on (port-enable-changed) was being acknowledged by the bios’s smm ghost before we ever saw it, so we stopped waiting on the status bit and just read the port state, which can’t be acked away. also fixed before it bit us: two devices answering address 0 at once (enumeration is per-port now, and every device gets a real address before the next port wakes up). the next failure was prettier: every OUT transfer works, every IN transfer dies. the stick takes its orders but can’t talk back. that’s the signature of the qtd buffer list, the one place real ich silicon is strict where qemu is forgiving, so all dma buffers are page-aligned now and the error reports name whichever endpoint stalled. also everyone gotta apreciate the blahaj!

0
92

Comments 4

@utkarsh_tewari

ouu shii

@PavolUlicny

Hey man, super cool project, but have you considered using a code formatter like clang-tidy? I think it could make your code look way more consistent across files and way more readable. Just a suggestion tho, you do you!

@onyxtheone

@PavolUlicny hey thats a great idea! my coding style is pretty inconsistent, the worse ones i already use tools to clean up but i dont always bother with it so it ends up being a mix of bad and worse. ill give it a try, thanks!

@PavolUlicny

@onyxtheone I often write unreadable code, but I always just clean it up with a formatter afterwards. And also, the formatter is clang-format, clang-tidy is a linter, sorry for that.