mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:37:46 +00:00
Kernel+LibPartition: Move DiskPartitionMetadata into LibPartition
This commit creates a new library LibPartition which will contain partition related code sharable between Kernel and Userland and includes DiskPartitionMetadata as the first shared class.
This commit is contained in:
parent
2786147774
commit
be1c5c6b9f
9 changed files with 27 additions and 20 deletions
|
@ -104,7 +104,6 @@ set(KERNEL_SOURCES
|
|||
Storage/ATA/ATAPIDiscDevice.cpp
|
||||
Storage/ATA/ATAPort.cpp
|
||||
Storage/Partition/DiskPartition.cpp
|
||||
Storage/Partition/DiskPartitionMetadata.cpp
|
||||
Storage/Partition/EBRPartitionTable.cpp
|
||||
Storage/Partition/GUIDPartitionTable.cpp
|
||||
Storage/Partition/MBRPartitionTable.cpp
|
||||
|
@ -405,6 +404,10 @@ set(CRYPTO_SOURCES
|
|||
../Userland/Libraries/LibCrypto/Hash/SHA2.cpp
|
||||
)
|
||||
|
||||
set(PARTITION_SOURCES
|
||||
../Userland/Libraries/LibPartition/DiskPartitionMetadata.cpp
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
${AK_SOURCES}
|
||||
)
|
||||
|
@ -416,6 +419,7 @@ if (NOT "${SERENITY_ARCH}" STREQUAL "aarch64")
|
|||
${ELF_SOURCES}
|
||||
${VT_SOURCES}
|
||||
${CRYPTO_SOURCES}
|
||||
${PARTITION_SOURCES}
|
||||
)
|
||||
else()
|
||||
set(RPI_SOURCES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue