Skip to content

Commit 638efd8

Browse files
committed
[axplat-x86-pc] bump to v0.1.1
1 parent 1f4d898 commit 638efd8

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

platforms/axplat-x86-pc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "axplat-x86-pc"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
description = "Implementation of `axplat` hardware abstraction layer for x86 Standard PC machine."
55
documentation = "https://docs.rs/axplat-x86-pc"
66
keywords = ["arceos", "os", "hal", "x86"]

platforms/axplat-x86-pc/src/time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub fn init_primary() {
5454
use x2apic::lapic::{TimerDivide, TimerMode};
5555
let lapic = super::apic::local_apic();
5656
lapic.set_timer_mode(TimerMode::OneShot);
57-
lapic.set_timer_divide(TimerDivide::Div1); // indeed it is Div1, the name is confusing.
57+
lapic.set_timer_divide(TimerDivide::Div1);
5858
lapic.enable_timer();
5959

6060
// TODO: calibrate with HPET

0 commit comments

Comments
 (0)