Commit Graph

170 Commits

Author SHA1 Message Date
William Kent
2bc40c4b8c Recreate projects directory 2021-11-03 16:51:52 -04:00
William Kent
cffc28c396 Move projects/ into src/
projects/ will have a new meaning now.
2021-11-03 16:45:01 -04:00
William Kent
4f68f77d81 Reformat xnu CMakeLists.txt to match style guide 2021-11-02 16:49:08 -04:00
William Kent
30af63283e Delete kext copyright string checks
We're an open-source project. We don't artifically
place limits on our users the same way Apple does.
Anyone can link to our com.apple.kpi.private API.
2021-11-02 16:49:08 -04:00
William Kent
80fc6f083a Squelch useless warning 2021-11-02 16:36:25 -04:00
William Kent
af8c803cb1 Remove Python syntax check aka fix build
Python 2 is deprecated on macOS. The syntax
checker now runs on Python 3, which has significant
syntactical differences from Python 2.
2021-11-02 16:09:50 -04:00
William Kent
7086f0e939 Fix missed Python script 2021-09-29 10:38:09 -04:00
William Kent
0479e4ae1e Update location of corecrypto.kext 2021-09-29 10:34:42 -04:00
William Kent
3d42035af1 Revert "Add support for building to run on FreeBSD kernel" 2021-09-29 10:34:42 -04:00
William Kent
ca04295321 Port xnu python scripts to Python 3 2021-09-28 17:59:01 -04:00
William Kent
cb4a027fbd Use consistent file extension for C++ code 2021-09-21 15:40:02 -04:00
William Kent
cb709a9e1b Add corecrypto.kext
Taken from the PureDarwin/corecrypto repo on GitHub,
which is to be archived once this code hits master.
2021-09-21 15:39:42 -04:00
William Kent
cd02dd81fa Clean up duplicate files 2021-08-09 14:09:53 -04:00
William Kent
4d43dd6a3a Re-add missing +x bit on scripts 2021-08-09 13:13:16 -04:00
William Kent
8da0436c62 Update paths 2021-08-09 13:13:16 -04:00
William Kent
93e628c849 Move libsystem_kernel into proper subdirectory 2021-08-09 13:13:16 -04:00
William Kent
4697dab8bd Typo fix 2021-08-09 13:13:15 -04:00
William Kent
3342f0d0e5 Delete add_subdirectory() call for moved subdirectory 2021-08-09 13:12:56 -04:00
William Kent
59275a1be0 Remove more leftovers from botched merge 2021-08-09 13:12:52 -04:00
William Kent
6f3e349ef1 Move libfirehose_kernel into Kernel_XNU directory 2021-08-09 13:12:10 -04:00
William Kent
1d98db2477 Reorganize projects directory (warning: huge diff) 2021-08-09 13:12:10 -04:00
William Kent
20cd94ac8f Remove duplicated files caused by botched merge 2021-08-08 21:18:39 -04:00
William Kent
63aee9fec0 Fix xnu build 2021-08-08 20:35:38 -04:00
William Kent
053f315ba8 Move libkmod out of Kernel/xnu; 2021-08-06 19:52:24 -04:00
William Kent
29da0347d8 Move libsystem_kernel out of Kernel/xnu 2021-08-06 19:51:25 -04:00
William Kent
515393bb9f Move pthread.kext target from Libraries/libSystem into Kernel/Extensions 2021-08-06 19:45:23 -04:00
William Kent
dcbff69790 Remove unused directory 2021-08-03 15:30:32 -04:00
William Kent
e0a8a79e4f Fix path handling following reorganization 2021-08-03 15:30:13 -04:00
William Kent
8ea88e6b8f Reorganize projects/ into nested hierarchy 2021-08-03 15:23:11 -04:00
William Kent
5127e9ecb0 Properly remove now-disabled codesign references 2021-07-28 13:18:13 -04:00
William Kent
394aaab966 Use host-built ctf_insert tool 2021-07-28 12:59:31 -04:00
William Kent
4726753095 Find dsymutil using CMake rather than xcrun 2021-07-28 12:30:36 -04:00
William Kent
0a22d41909 Remove use of codesign tool
The host tools do not need a code signature,
so this lets us drop another dependency on the
non-open-source Apple SDK.
2021-07-28 12:23:11 -04:00
William Kent
a90bbea9f2 Remove needless use of xcrun
This involved pinning the SDK version to 11.0.
2021-07-28 12:20:56 -04:00
William Kent
5196fe8269 Use our versions of cctools executables
iig and dsymutil are still pulled from xcrun,
because these tools are not open-source and have
not yet been rewritten.
2021-07-28 12:19:04 -04:00
William Kent
a1b5d9e5b3 Greatly simplify MiG invocation 2021-07-28 12:09:44 -04:00
William Kent
d12597459c Silence new warning 2021-07-22 15:28:59 -04:00
William Kent
a9d023d7b4 Clean up pthread.kext build 2021-07-22 15:28:11 -04:00
William Kent
7c09a1664c Generate IOStorageFamilyUserHeaders at build time 2021-07-21 10:58:09 -04:00
William Kent
a1c09043a7 Add AppleIntelPIIXATA
Until we can satisfy a dependency on IOACPIFamily,
which is not an open-source kext, this kext will not
compile, so it is disabled in projects/CMakeLists.txt
2021-07-20 20:31:09 -04:00
William Kent
e259c08ffc Move file to proper subdirectory 2021-07-20 20:31:02 -04:00
William Kent
d96b86528d Add IOACPIFamily 2021-07-20 20:31:02 -04:00
William Kent
bd31e00d64 Fix deprecation warning 2021-07-20 20:00:57 -04:00
William Kent
04bc4db40b Move public header into appropriate directory 2021-07-20 19:57:11 -04:00
William Kent
80ed74c351 Disable more DriverKit code 2021-07-20 19:54:13 -04:00
William Kent
b891bdbef0 Fix warning 2021-07-20 19:53:34 -04:00
William Kent
07c54df070 Fix IOPCIFamily build 2021-07-20 19:53:03 -04:00
William Kent
cc999c085d Add extra compiler flags to IOPCIFamily 2021-07-20 19:49:05 -04:00
William Kent
4635cefea9 Fix build 2021-07-20 19:48:54 -04:00
William Kent
4e58d8b83f Un-deprecate IOPCIDevice
We have no DriverKit (yet), so we must not depend
on it to build this kext.
2021-07-20 19:47:08 -04:00