Skip to content

Conversation

@liylo
Copy link

@liylo liylo commented Mar 24, 2025

No description provided.


### 版本:

https://github.com/Starry-OS/Starry-Old#53c549a
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请使用 starry-next和arceos的版本进行分析,对应的仓库分别为:

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

具体的流程并没有太大的区别


```rust
pub extern "C" fn rust_main(cpu_id: usize, dtb: usize) {
//
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

对齐 //


### init_kernel_process:

1. **创建内核进程对象**:构造一个包含进程标识、栈大小、内存空间等属性的内核进程。
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是否可以针对具体的代码进行分析

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants