Skip to content

Commit 82601de

Browse files
v0.17.4
1 parent c969f38 commit 82601de

4 files changed

Lines changed: 13 additions & 4 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ keywords = ["no-std", "liberty", "libertyos", "os", "kernel"]
88
name = "libertyos_kernel"
99
readme = "README.md"
1010
repository = "https://github.com/LibertyOS-Development/kernel"
11-
version = "0.17.3"
11+
version = "0.17.4"
1212

1313
[dependencies]
1414
acpi = "4.1.0"

VERSIONHISTORY.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ Version History
22

33
# Version History
44

5+
## 0.17.4
6+
- Added a constant to keep track of the kernel's version number (src/main.rs).
7+
- Commented out the TUI for now (src/main.rs).
8+
- Modified the welcome message to display the kernel version, along with the new name of the kernel (src/main.rs).
9+
- Updated the version number (Cargo.toml).
10+
511
## 0.17.3
612
- Added "better-error-messages" (ideas/better-error-messages.md).
713
- Added a section to the README to explain how people can contribute to the kernel's development (README.md).

src/main.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,20 @@ entry_point!(kernel_main);
2828

2929
// KSIZE is set to about 2MB.
3030
pub const KSIZE: usize = 2 << 20;
31+
const KURIOS_VERSION: &str = env!("CARGO_PKG_VERSION");
32+
3133

3234
fn kernel_main(bootinfo: &'static BootInfo) -> !
3335
{
3436
use libertyos_kernel::user::shell::exec;
3537

3638

3739
libertyos_kernel::init::start(bootinfo);
38-
println!("LIBERTYOS v0.17.3");
40+
println!("KURIOS v{}", KURIOS_VERSION);
3941
print!("\x1b[?25h");
4042
println!();
4143

42-
44+
/*
4345
let text_mode = Text80x25::new();
4446
let tmcolor = TextModeColor::new(Color16::Yellow, Color16::Black);
4547
@@ -52,6 +54,7 @@ fn kernel_main(bootinfo: &'static BootInfo) -> !
5254
graphics_mode.draw_line((80, 420), (540, 420), Color16::White);
5355
graphics_mode.draw_line((540, 420), (540, 60), Color16::White);
5456
graphics_mode.draw_line((80, 90), (540, 90), Color16::White);
57+
*/
5558

5659
// While duration < 5 sec, display welcome screen.
5760

0 commit comments

Comments
 (0)