revert: #400 (volatile casts used to force reloads) #402
Reference in New Issue
Block a user
Delete Branch "agent/w0930/revert-400"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reverts #400. It matched sd_drv/pfd_cmn code by casting ordinary globals through volatile pointers, e.g.
*(FADisk* volatile*)&g_pfd_sddrv_info.diskand*(s8 volatile*)&g_pfd_sddrv_info.drive(7 such casts). Using volatile to coax codegen is on this repo's forbidden list. DOL sha1 stays 26116613f624061ba99c8d1a299aaa6efa85670d after the revert. The units go back to a worker to match with real source forms.