forked from Simple-XX/SimpleKernel
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Zone.N <[email protected]>
- Loading branch information
Showing
9 changed files
with
35 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
|
||
/** | ||
* @file arch.cpp | ||
* @brief arch cpp | ||
* @file arch_main.cpp | ||
* @brief arch_main cpp | ||
* @author Zone.N ([email protected]) | ||
* @version 1.0 | ||
* @date 2023-07-15 | ||
|
@@ -16,7 +16,7 @@ | |
|
||
#include "arch.h" | ||
|
||
int32_t arch(uint32_t _argc, uint8_t **_argv) { | ||
int32_t arch_init(uint32_t _argc, uint8_t **_argv) { | ||
(void)_argc; | ||
(void)_argv; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
|
||
/** | ||
* @file arch.cpp | ||
* @brief arch cpp | ||
* @file arch_main.cpp | ||
* @brief arch_main cpp | ||
* @author Zone.N ([email protected]) | ||
* @version 1.0 | ||
* @date 2023-07-15 | ||
|
@@ -14,12 +14,7 @@ | |
* </table> | ||
*/ | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
#include "cstdint" | ||
|
||
#include "sbi/sbi_ecall_interface.h" | ||
|
||
struct sbiret_t { | ||
|
@@ -70,6 +65,14 @@ int arch(int, char **) { | |
return 0; | ||
} | ||
|
||
#ifdef __cplusplus | ||
int32_t arch_init(uint32_t _argc, uint8_t **_argv) { | ||
(void)_argc; | ||
(void)_argv; | ||
|
||
// 进入死循环 | ||
while (1) { | ||
; | ||
} | ||
|
||
return 0; | ||
} | ||
#endif |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
|
||
/** | ||
* @file arch.cpp | ||
* @brief arch cpp | ||
* @file arch_main.cpp | ||
* @brief arch_main cpp | ||
* @author Zone.N ([email protected]) | ||
* @version 1.0 | ||
* @date 2023-07-15 | ||
|
@@ -16,7 +16,7 @@ | |
|
||
#include "arch.h" | ||
|
||
int32_t arch(uint32_t _argc, uint8_t **_argv) { | ||
int32_t arch_init(uint32_t _argc, uint8_t **_argv) { | ||
(void)_argc; | ||
(void)_argv; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters