diff --git a/subsys/CMakeLists.txt b/subsys/CMakeLists.txt index 9608ddec21c..80d7a838b35 100644 --- a/subsys/CMakeLists.txt +++ b/subsys/CMakeLists.txt @@ -26,4 +26,3 @@ add_subdirectory(tracing) add_subdirectory_ifdef(CONFIG_JWT jwt) add_subdirectory(canbus) add_subdirectory_ifdef(CONFIG_TIMING_FUNCTIONS timing) -add_subdirectory_ifdef(CONFIG_DEMAND_PAGING demand_paging) diff --git a/subsys/Kconfig b/subsys/Kconfig index e6b60b9c67a..6c5a95d671f 100644 --- a/subsys/Kconfig +++ b/subsys/Kconfig @@ -58,6 +58,4 @@ source "subsys/timing/Kconfig" source "subsys/tracing/Kconfig" -source "subsys/demand_paging/Kconfig" - endmenu diff --git a/subsys/demand_paging/CMakeLists.txt b/subsys/demand_paging/CMakeLists.txt deleted file mode 100644 index 486e9f9ad2e..00000000000 --- a/subsys/demand_paging/CMakeLists.txt +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright (c) 2020 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -add_subdirectory(eviction) -add_subdirectory(backing_store) diff --git a/subsys/demand_paging/Kconfig b/subsys/demand_paging/Kconfig deleted file mode 100644 index 3e1626f989e..00000000000 --- a/subsys/demand_paging/Kconfig +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright (c) 2020 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -menu "Demand Paging modules" - depends on DEMAND_PAGING - -source "subsys/demand_paging/eviction/Kconfig" - -source "subsys/demand_paging/backing_store/Kconfig" - -endmenu diff --git a/subsys/demand_paging/backing_store/CMakeLists.txt b/subsys/demand_paging/backing_store/CMakeLists.txt deleted file mode 100644 index dd1bf8032a6..00000000000 --- a/subsys/demand_paging/backing_store/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -# Copyright (c) 2020 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 diff --git a/subsys/demand_paging/backing_store/Kconfig b/subsys/demand_paging/backing_store/Kconfig deleted file mode 100644 index 70a80dbbcca..00000000000 --- a/subsys/demand_paging/backing_store/Kconfig +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright (c) 2020 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -choice BACKING_STORE_CHOICE - prompt "Backing store algorithms" - default BACKING_STORE_CUSTOM - -config BACKING_STORE_CUSTOM - bool "Custom backing store implementation" - help - This option is chosen when the backing store will be implemented in - the application. This will be typical as these tend to be very - hardware-dependent. - -endchoice diff --git a/subsys/demand_paging/eviction/CMakeLists.txt b/subsys/demand_paging/eviction/CMakeLists.txt deleted file mode 100644 index dd1bf8032a6..00000000000 --- a/subsys/demand_paging/eviction/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -# Copyright (c) 2020 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 diff --git a/subsys/demand_paging/eviction/Kconfig b/subsys/demand_paging/eviction/Kconfig deleted file mode 100644 index 0a39d9ad8a6..00000000000 --- a/subsys/demand_paging/eviction/Kconfig +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright (c) 2020 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 -# -# Demand paging sample eviction algorithms - -choice EVICTION_CHOICE - prompt "Page frame eviction algorithms" - default EVICTION_CUSTOM - depends on DEMAND_PAGING - -config EVICTION_CUSTOM - bool "Custom eviction algorithm" - help - This option is chosen when the eviction algorithm will be implemented - by the application, instead of using one included in Zephyr. - -endchoice