Skip to content

Commit

Permalink
Merge branch 'boot' into new_intr
Browse files Browse the repository at this point in the history
Signed-off-by: Zone.N <[email protected]>
  • Loading branch information
MRNIU committed Aug 30, 2024
2 parents 545f2ce + c61cc09 commit c264454
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/kernel/arch/aarch64/include/cpu/cpu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
#include <typeinfo>

#include "kernel_log.hpp"
#include "regs.hpp"
#include "sk_cstdio"
#include "sk_iostream"
#include "sr.hpp"

#endif // SIMPLEKERNEL_SRC_KERNEL_ARCH_AARCH64_INCLUDE_CPU_CPU_HPP_
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

/**
* @file sr.hpp
* @brief aarch64 sr 相关定义
* @file regs.hpp
* @brief aarch64 寄存器相关定义
* @author Zone.N ([email protected])
* @version 1.0
* @date 2024-03-05
Expand All @@ -14,8 +14,8 @@
* </table>
*/

#ifndef SIMPLEKERNEL_SRC_KERNEL_ARCH_AARCH64_INCLUDE_CPU_SR_HPP_
#define SIMPLEKERNEL_SRC_KERNEL_ARCH_AARCH64_INCLUDE_CPU_SR_HPP_
#ifndef SIMPLEKERNEL_SRC_KERNEL_ARCH_AARCH64_INCLUDE_CPU_REGS_HPP_
#define SIMPLEKERNEL_SRC_KERNEL_ARCH_AARCH64_INCLUDE_CPU_REGS_HPP_

#include <cstdint>
#include <cstdlib>
Expand Down Expand Up @@ -166,4 +166,4 @@ struct AllXreg {

}; // namespace cpu

#endif // SIMPLEKERNEL_SRC_KERNEL_ARCH_AARCH64_INCLUDE_CPU_SR_HPP_
#endif // SIMPLEKERNEL_SRC_KERNEL_ARCH_AARCH64_INCLUDE_CPU_REGS_HPP_
2 changes: 1 addition & 1 deletion src/kernel/arch/riscv64/include/cpu/cpu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#include <type_traits>
#include <typeinfo>

#include "csr.hpp"
#include "kernel_log.hpp"
#include "regs.hpp"
#include "sk_cstdio"
#include "sk_iostream"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

/**
* @file csr.hpp
* @brief riscv64 csr 相关定义
* @file regs.hpp
* @brief riscv64 寄存器相关定义
* @author Zone.N ([email protected])
* @version 1.0
* @date 2024-03-05
Expand All @@ -14,8 +14,8 @@
* </table>
*/

#ifndef SIMPLEKERNEL_SRC_KERNEL_ARCH_RISCV64_INCLUDE_CPU_CSR_HPP_
#define SIMPLEKERNEL_SRC_KERNEL_ARCH_RISCV64_INCLUDE_CPU_CSR_HPP_
#ifndef SIMPLEKERNEL_SRC_KERNEL_ARCH_RISCV64_INCLUDE_CPU_REGS_HPP_
#define SIMPLEKERNEL_SRC_KERNEL_ARCH_RISCV64_INCLUDE_CPU_REGS_HPP_

#include <cstdint>
#include <cstdlib>
Expand Down Expand Up @@ -1611,4 +1611,4 @@ class AllCsr {

}; // namespace cpu

#endif // SIMPLEKERNEL_SRC_KERNEL_ARCH_RISCV64_INCLUDE_CPU_CSR_HPP_
#endif // SIMPLEKERNEL_SRC_KERNEL_ARCH_RISCV64_INCLUDE_CPU_REGS_HPP_
2 changes: 1 addition & 1 deletion src/kernel/arch/x86_64/include/cpu/cpu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#include <type_traits>
#include <typeinfo>

#include "cr.hpp"
#include "kernel_log.hpp"
#include "regs.hpp"
#include "sk_cstdio"
#include "sk_iostream"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

/**
* @file cr.hpp
* @brief x86_64 cr 相关定义
* @file regs.hpp
* @brief x86_64 寄存器相关定义
* @author Zone.N ([email protected])
* @version 1.0
* @date 2024-03-05
Expand All @@ -14,8 +14,8 @@
* </table>
*/

#ifndef SIMPLEKERNEL_SRC_KERNEL_ARCH_X86_64_INCLUDE_CPU_CR_HPP_
#define SIMPLEKERNEL_SRC_KERNEL_ARCH_X86_64_INCLUDE_CPU_CR_HPP_
#ifndef SIMPLEKERNEL_SRC_KERNEL_ARCH_X86_64_INCLUDE_CPU_REGS_HPP_
#define SIMPLEKERNEL_SRC_KERNEL_ARCH_X86_64_INCLUDE_CPU_REGS_HPP_

#include <cstdint>
#include <cstdlib>
Expand Down Expand Up @@ -1773,4 +1773,4 @@ struct AllCr {

}; // namespace cpu

#endif // SIMPLEKERNEL_SRC_KERNEL_ARCH_X86_64_INCLUDE_CPU_CR_HPP_
#endif // SIMPLEKERNEL_SRC_KERNEL_ARCH_X86_64_INCLUDE_CPU_REGS_HPP_

0 comments on commit c264454

Please sign in to comment.