Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

boot: update more boot params and boot functions #116

Merged
merged 2 commits into from
Mar 29, 2022

Conversation

studychao
Copy link
Member

@studychao studychao commented Mar 21, 2022

This commit has serveral changes:

  1. add get_kernel_start() to get the start place of the kernel
  2. add add_e820_entry() to add e820 region to the e820 map
  3. add several boot related consts

Besides, in order to pass dbs-utils CI, we change the thread sleep time in rate-limiter UT.

Signed-off-by: Chao Wu chaowu@linux.alibaba.com

@codecov
Copy link

codecov bot commented Mar 21, 2022

Codecov Report

Merging #116 (5751a3f) into main (220c391) will decrease coverage by 0.02%.
The diff coverage is 90.90%.

@@            Coverage Diff             @@
##             main     #116      +/-   ##
==========================================
- Coverage   91.00%   90.97%   -0.03%     
==========================================
  Files          52       52              
  Lines        7539     7570      +31     
==========================================
+ Hits         6861     6887      +26     
- Misses        678      683       +5     
Flag Coverage Δ
dbs-address-space 81.16% <ø> (ø)
dbs-allocator 90.45% <ø> (ø)
dbs-arch 93.71% <ø> (ø)
dbs-boot 91.57% <90.62%> (+0.09%) ⬆️
dbs-device 94.86% <ø> (ø)
dbs-interrupt 92.26% <ø> (ø)
dbs-legacy-devices 94.60% <ø> (ø)
dbs-utils 90.32% <100.00%> (-0.40%) ⬇️
dbs-virtio-devices 90.87% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
crates/dbs-boot/src/lib.rs 100.00% <ø> (ø)
crates/dbs-boot/src/x86_64/mod.rs 90.76% <90.62%> (+0.87%) ⬆️
crates/dbs-utils/src/rate_limiter.rs 96.77% <100.00%> (ø)
crates/dbs-utils/src/epoll_manager.rs 92.00% <0.00%> (-4.00%) ⬇️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@jiangliu
Copy link
Member

Could you please help to rebase this PR?

1 similar comment
@jiangliu
Copy link
Member

Could you please help to rebase this PR?

@studychao
Copy link
Member Author

Could you please help to rebase this PR?

will rebase when arm patch is merged:)

@studychao studychao force-pushed the chao/update_boot_3 branch 2 times, most recently from 1cf4888 to b74ee23 Compare March 25, 2022 07:01
@studychao
Copy link
Member Author

Could you please help to rebase this PR?

Done

This commit has serveral changes:
1. add get_kernel_start() to get the start place of the kernel
2. add add_e820_entry() to add e820 region to the e820 map
3. add several boot related consts

Signed-off-by: Chao Wu <chaowu@linux.alibaba.com>
add thread sleep in dbs-utils rate limiter to solve CI machines too slow
problem

Signed-off-by: Chao Wu <chaowu@linux.alibaba.com>
@studychao studychao merged commit 043a5f8 into openanolis:main Mar 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants