Changeset 77662 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Include/Library/SynchronizationLib.h
- Timestamp:
- Mar 12, 2019 12:40:12 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 129295
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776 /vendor/edk2/current 103735-103757,103769-103776,129194-129237
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Include/Library/SynchronizationLib.h
r58466 r77662 2 2 Provides synchronization functions. 3 3 4 Copyright (c) 2006 - 201 2, Intel Corporation. All rights reserved.<BR>4 Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> 5 5 This program and the accompanying materials 6 6 are licensed and made available under the terms and conditions of the BSD License … … 158 158 EFIAPI 159 159 InterlockedIncrement ( 160 IN UINT32*Value160 IN volatile UINT32 *Value 161 161 ); 162 162 … … 180 180 EFIAPI 181 181 InterlockedDecrement ( 182 IN UINT32 *Value 183 ); 184 182 IN volatile UINT32 *Value 183 ); 184 185 186 /** 187 Performs an atomic compare exchange operation on a 16-bit unsigned integer. 188 189 Performs an atomic compare exchange operation on the 16-bit unsigned integer 190 specified by Value. If Value is equal to CompareValue, then Value is set to 191 ExchangeValue and CompareValue is returned. If Value is not equal to CompareValue, 192 then Value is returned. The compare exchange operation must be performed using 193 MP safe mechanisms. 194 195 If Value is NULL, then ASSERT(). 196 197 @param Value A pointer to the 16-bit value for the compare exchange 198 operation. 199 @param CompareValue 16-bit value used in compare operation. 200 @param ExchangeValue 16-bit value used in exchange operation. 201 202 @return The original *Value before exchange. 203 **/ 204 UINT16 205 EFIAPI 206 InterlockedCompareExchange16 ( 207 IN OUT volatile UINT16 *Value, 208 IN UINT16 CompareValue, 209 IN UINT16 ExchangeValue 210 ); 185 211 186 212 /** … … 206 232 EFIAPI 207 233 InterlockedCompareExchange32 ( 208 IN OUT UINT32*Value,234 IN OUT volatile UINT32 *Value, 209 235 IN UINT32 CompareValue, 210 236 IN UINT32 ExchangeValue … … 233 259 EFIAPI 234 260 InterlockedCompareExchange64 ( 235 IN OUT UINT64*Value,261 IN OUT volatile UINT64 *Value, 236 262 IN UINT64 CompareValue, 237 263 IN UINT64 ExchangeValue … … 260 286 EFIAPI 261 287 InterlockedCompareExchangePointer ( 262 IN OUT VOID * *Value,288 IN OUT VOID * volatile *Value, 263 289 IN VOID *CompareValue, 264 290 IN VOID *ExchangeValue
Note:
See TracChangeset
for help on using the changeset viewer.