Commit Graph

17 Commits

Author SHA1 Message Date
dmex 4cc413b67c Read fastlock value with acquire semantics
Replace direct load of FastLock->Value with ReadULongAcquire(&FastLock->Value) to enforce acquire memory ordering before the CAS in the fast-lock acquisition loop. This ensures proper ordering and visibility when acquiring the exclusive fast lock.
2026-04-13 11:51:40 +10:00
dmex 3f55a60c98 re-organized phlib 2025-05-22 07:48:42 +10:00
dmex bc85f1448c Add Acquire and Release Semantics 2024-12-01 08:24:57 +11:00
dmex 6c82b0f60b Update fastlock.c 2024-06-17 06:44:44 +10:00
namazso ce03312db2 Fix UBs (#1694) 2023-05-11 14:48:49 +10:00
Johnny Shaw c6e44b2fea Update copyright and license (#1256) 2022-06-13 20:33:49 -06:00
dmex d06f6610b0 Fix github file encoding issues 2017-04-27 19:12:40 +10:00
Wen Jia Liu 9c59091e87 Add .def file for exports; Reduce compilation time; Reorganize header files 2016-02-25 16:58:43 +11:00
Wen Jia Liu 752a89c3e4 Fix SAL annotations 2016-02-16 08:43:18 +11:00
Wen Jia Liu f387b70c05 Reflow phlib comments to 100 character width 2016-02-05 04:02:29 +11:00
Wen Jia Liu 9c1bf9b2b7 Another big phlib cleanup 2015-06-10 07:51:44 +00:00
Wen Jia Liu 90e92f2348 converted all annotations to SAL 2.0 2013-11-10 06:25:03 +00:00
Wen Jia Liu 615930620e patch by xhmikosr 2011-08-25 02:43:45 +00:00
Wen Jia Liu c2afc273b4 * removed KphHandle argument from KPH functions
* removed control Create functions
* consistently use VOID for functions with no parameters
* PPVOID -> PVOID *
* PhRefreshMupDevicePrefixes -> PhUpdateMupDevicePrefixes, PhRefreshDosDevicePrefixes -> PhUpdateDosDevicePrefixes
2011-08-22 03:12:13 +00:00
Wen Jia Liu cc73d89eed * added optional initialization of phlib components
* added "static" to many global variables
2010-09-27 08:09:49 +00:00
Wen Jia Liu e11d9ac2c2 even more un-Win32-izing 2010-03-14 08:21:47 +00:00
Wen Jia Liu d66d377d66 restructured common code into phlib 2010-03-11 04:15:11 +00:00