Skip to content

Commit

Permalink
pref(cmake): 撤销修改
Browse files Browse the repository at this point in the history
  • Loading branch information
MRNIU committed Nov 4, 2020
1 parent e688876 commit 0bcb278
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cmake/arch_detector.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
# arch_detector.cmake for Simple-XX/SimpleKernel.

if (ARCH STREQUAL x86_64)
set(SimpleKernelArch X8664)
set(SimpleKernelArch x86_64)
elseif (ARCH STREQUAL raspi2)
set(SimpleKernelArch RASPI2)
else ()
message(WARNING "unexpected ARCH ${ARCH}, using default value \"X8664\"")
message(WARNING "unexpected ARCH ${ARCH}, using default value \"x86_64\"")
set(SimpleKernelArch x86_64)
endif ()

Expand Down
3 changes: 0 additions & 3 deletions src/kernel/kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ void kernel_main(void) {
}
}
log_info("Simple Kernel.\n");
while (1) {
uart_putc(uart_getc());
}
#endif
return;
}
Expand Down

0 comments on commit 0bcb278

Please sign in to comment.