[ISAPNP] Disable bus scan on unsupported platforms

This speeds up boot a bit and also decreases binary size.

- Introduce a new CMake define ISAPNP_ENABLE that defined only in x86 platform
  when ISA PnP is supported.
This commit is contained in:
Dmitry Borisov 2021-03-20 20:53:32 +06:00
parent e318d22940
commit 8939abf113
3 changed files with 301 additions and 7 deletions

View file

@ -100,6 +100,9 @@ endif()
cmake_dependent_option(BUILD_MP "Whether to build the multiprocessor versions of NTOSKRNL and HAL." ON
"ARCH STREQUAL i386" OFF)
cmake_dependent_option(ISAPNP_ENABLE "Whether to enable the ISA PnP support." ON
"ARCH STREQUAL i386 AND NOT SARCH STREQUAL xbox" OFF)
set(GENERATE_DEPENDENCY_GRAPH FALSE CACHE BOOL
"Whether to create a GraphML dependency graph of DLLs.")