Skip to content

Commit d667556

Browse files
add wip disclaimer
Signed-off-by: Henry Gressmann <[email protected]>
1 parent 76d7d2d commit d667556

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

content/rust-os/2-shell/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
+++
22
transparent = true
3-
title = "Creating a Kernel in Rust #2: Shell"
3+
title = "Creating a Kernel in Rust #2: Shell [Work in Progress]"
44
description = "Creating a simple shell for our kernel to run commands and help us debug"
55
date = 2023-05-14
66

@@ -13,6 +13,8 @@ series = ["rust-os"]
1313

1414
This is a series of posts about my journey creating a kernel in rust. You can find the code for this project [here](https://github.com/explodingcamera/pogos/tree/part-1) and all of the posts in this series [here](/series/os-dev/).
1515

16+
This post isn't finished yet, but I wanted to get it out so I stop procrastinating on it. More content will follow next week.
17+
1618
{% end %}
1719

1820
Now that we have a basic kernel that can print to the screen, we can start building out some more functionality.
@@ -117,6 +119,7 @@ Now that we have our allocator, we can use it to allocate memory in our kernel.
117119
{{ file(name = "src/heap.rs") }}
118120

119121
```rust
122+
120123
#[global_allocator]
121124
static mut KERNEL_HEAP_ALLOCATOR: LinearAllocator = LinearAllocator::empty();
122125
static mut KERNEL_HEAP: [u8; 0x20000] = [0; 0x20000]; // this will allocate 128kb of memory in the .bss section

0 commit comments

Comments
 (0)