Small Fixes
This commit is contained in:
parent
a0f32a15a7
commit
69a9613e4f
2
dependencies/runtime/CMakeLists.txt
vendored
2
dependencies/runtime/CMakeLists.txt
vendored
@ -13,4 +13,6 @@ endif()
|
|||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
if(COMMAND install_runtime)
|
||||||
install_runtime("${MCPI_BIN_DIR}" "${MCPI_LEGAL_DIR}")
|
install_runtime("${MCPI_BIN_DIR}" "${MCPI_LEGAL_DIR}")
|
||||||
|
endif()
|
2
dependencies/runtime/src
vendored
2
dependencies/runtime/src
vendored
@ -1 +1 @@
|
|||||||
Subproject commit e6839074fd2eec91c5bb2e08705f2f235a568f74
|
Subproject commit 790e7918b1d63102b7a7f39dc1db006b2a5abf48
|
@ -58,7 +58,7 @@ void bootstrap() {
|
|||||||
print_debug_information();
|
print_debug_information();
|
||||||
|
|
||||||
// Check Page Size (Not Needed When Using QEMU)
|
// Check Page Size (Not Needed When Using QEMU)
|
||||||
#ifndef MCPI_USE_QEMU
|
#ifndef MCPI_RUNTIME_IS_QEMU
|
||||||
long page_size = sysconf(_SC_PAGESIZE);
|
long page_size = sysconf(_SC_PAGESIZE);
|
||||||
if (page_size != REQUIRED_PAGE_SIZE) {
|
if (page_size != REQUIRED_PAGE_SIZE) {
|
||||||
ERR("Invalid page size! A page size of %ld bytes is required, but the system size is %ld bytes.", (long) REQUIRED_PAGE_SIZE, page_size);
|
ERR("Invalid page size! A page size of %ld bytes is required, but the system size is %ld bytes.", (long) REQUIRED_PAGE_SIZE, page_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user