Skip to content

Commit b12cde9

Browse files
committed
Switch to Lilu atomic header
1 parent 5d26d04 commit b12cde9

File tree

6 files changed

+4
-45
lines changed

6 files changed

+4
-45
lines changed

Sensors/SMCBatteryManager/BatteryManager.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <Sensors/Private/pwr_mgt/RootDomain.h>
2525
#include <IOKit/IOTimerEventSource.h>
2626
#include <Headers/kern_util.hpp>
27-
#include <VirtualSMCSDK/vsmcatomic.h>
27+
#include <Headers/kern_atomic.hpp>
2828

2929
class EXPORT BatteryManager : public OSObject {
3030
OSDeclareDefaultStructors(BatteryManager)

VirtualSMC.xcodeproj/project.pbxproj

-2
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@
293293
CE2206972125097F00A4FF3B /* TODO.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = TODO.txt; path = Docs/TODO.txt; sourceTree = "<group>"; };
294294
CE22069821250A4100A4FF3B /* kern_value.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = kern_value.hpp; sourceTree = "<group>"; };
295295
CE22069921250A4100A4FF3B /* kern_keyvalue.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = kern_keyvalue.hpp; sourceTree = "<group>"; };
296-
CE22069C21250A5D00A4FF3B /* vsmcatomic.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = vsmcatomic.h; sourceTree = "<group>"; };
297296
CE22069D21259BD100A4FF3B /* SMCDatabase */ = {isa = PBXFileReference; lastKnownFileType = folder; name = SMCDatabase; path = Docs/SMCDatabase; sourceTree = "<group>"; };
298297
CE22069E21259BEF00A4FF3B /* SMCTypes */ = {isa = PBXFileReference; lastKnownFileType = folder; name = SMCTypes; path = Docs/SMCTypes; sourceTree = "<group>"; };
299298
CE22069F2125B08E00A4FF3B /* MacModels.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = MacModels.txt; path = Docs/MacModels.txt; sourceTree = "<group>"; };
@@ -622,7 +621,6 @@
622621
CE15935E1F50551800D61131 /* kern_smcinfo.hpp */,
623622
CE22069921250A4100A4FF3B /* kern_keyvalue.hpp */,
624623
CE22069821250A4100A4FF3B /* kern_value.hpp */,
625-
CE22069C21250A5D00A4FF3B /* vsmcatomic.h */,
626624
);
627625
path = VirtualSMCSDK;
628626
sourceTree = "<group>";

VirtualSMC/kern_keystore.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// Copyright © 2017 vit9696. All rights reserved.
66
//
77

8-
#include <VirtualSMCSDK/vsmcatomic.h>
9-
108
#include <libkern/OSByteOrder.h>
9+
#include <Headers/kern_atomic.hpp>
1110
#include <Headers/kern_iokit.hpp>
1211
#include <Headers/kern_util.hpp>
1312
#include <Headers/kern_time.hpp>

VirtualSMC/kern_keystore.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <VirtualSMCSDK/kern_smcinfo.hpp>
1616
#include <VirtualSMCSDK/kern_value.hpp>
1717
#include <VirtualSMCSDK/kern_keyvalue.hpp>
18-
#include <VirtualSMCSDK/vsmcatomic.h>
18+
#include <Headers/kern_atomic.hpp>
1919

2020
#include <IOKit/IORegistryEntry.h>
2121
#include <libkern/c++/OSArray.h>

VirtualSMCSDK/kern_keyvalue.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#ifndef kern_keyvalue_hpp
99
#define kern_keyvalue_hpp
1010

11-
#include <VirtualSMCSDK/vsmcatomic.h>
11+
#include <Headers/kern_atomic.hpp>
1212
#include <VirtualSMCSDK/AppleSmcBridge.hpp>
1313
#include <VirtualSMCSDK/kern_value.hpp>
1414

VirtualSMCSDK/vsmcatomic.h

-38
This file was deleted.

0 commit comments

Comments
 (0)