=================================================================== RCS file: /MkLinux/floppy-darwin/NOTES,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- floppy-darwin/NOTES 2002/04/06 03:43:59 1.9 +++ floppy-darwin/NOTES 2002/05/29 07:22:06 1.10 @@ -1,17 +1,22 @@ NOTES: -Okay, here's what's still broken: +* STILL BROKEN: + +1. We need to tell the higher levels of the OS that the disk is formatted without + requiring the user to eject the floppy. + +Cleanup: do SWIMIIICopyRegs in EnterHardwareLockSection. + +* WARNINGS (that should be cleaned up): + +1. Need to include headers for kvtophys, delay, flush_dcache, invalidate_dcache, + IOMalloc, sleep, wakeup in order to verify usage.... +2. Verify use of invalidate_dcache in place of invalidate_cache_for_io. +3. dbdmasupport.c: implicit declaration of IOMallocContiguous and IOFreeContiguous. +4. extern.c: implicit declarations of delay, invalidate_cache_for_io, and + flush_dcache. +5. floppy_iocache.c: implicit declarations of flush_dcache and invalidate_dcache. +6. grcswimiiihal.c: implicit declaration of PrintDMA and kvtophys. + incompatible pointer type for arg 2 of dbdma_start. +7. swimiiicommonhal.c: implicit declaration of delay. -Timing is seat-of-the-pants. Should be improved. The 0.1 second delay in -swimiiicommonhal.c is arbitrary. It appears to work, but there are no -guarantees. - -Do a: - SWIMIIICopyRegs(&FloppySWIMIIIRegs, &FloppySWIMIIIRegsList[unit]); -in EnterHardwareLockSection! - -WARNINGS (that should be cleaned up): -- Need to include headers for kvtophys, delay, flush_dcache, invalidate_dcache, IOMalloc, sleep, wakeup in order to verify usage.... -- Verify use of invalidate_dcache in place of invalidate_cache_for_io. -- warning: passing arg 2 of dbdma_start from incompatible pointer type -- crusty warnings in fd.c