3moon
|
633d571522
|
[extremely gross] port from x86 to the x86_64 crate
|
8 years ago |
3moon
|
f4a16c16cc
|
+src::arch::x86_64::interrupts
|
8 years ago |
3moon
|
30b7ebb71f
|
docs: more docssssss
|
8 years ago |
3moon
|
80ac44f4fe
|
alloca: hack in phil-opp's linked_list_allocator
|
8 years ago |
3moon
|
cbe7669dc8
|
set up a static ::alloca::Allocator as the #[global_allocator]
|
8 years ago |
3moon
|
68caeb67f1
|
memory::init(): map memory for the kheap
|
8 years ago |
3moon
|
f27ac4bf6e
|
+::alloca: wire allocator lib to a rust Alloc
|
8 years ago |
3moon
|
8ab9c749ed
|
pull in the bump allocator as a dep
|
8 years ago |
3moon
|
242b218e47
|
memory::init(): double-call guard
|
8 years ago |
3moon
|
e9dee7092e
|
switch on feature(const_unique_new)
|
8 years ago |
3moon
|
c361682d4c
|
slight cleanup; move memory initialization to memory::init()
|
8 years ago |
3moon
|
b62a39956d
|
Remove scary warning comment in kernel_main()
it no longer applies
|
8 years ago |
3moon
|
0b22410c5e
|
kernel_main: enable NXE, WRPROT bits before remapping kernel
|
8 years ago |
3moon
|
718b2eead9
|
kernel_main: some additional logging/testing stuff
|
8 years ago |
3moon
|
c83ab3c3a2
|
Remap the kernel! (finally)
|
8 years ago |
3moon
|
aa8cab945b
|
Temporary test function for paging
|
8 years ago |
3moon
|
791ddb5f50
|
Test the frame allocator
|
8 years ago |
3moon
|
7de3dcf599
|
Implement a basic physical frame allocator
|
8 years ago |
3moon
|
e94f7413e3
|
lib.rs: Wire Multiboot section parsing up
|
8 years ago |
3moon
|
1b68cf6258
|
Pull in the `x86` crate in lib.rs
|
8 years ago |
3moon
|
600ffccf1a
|
add a hlt-loop in _Unwind_Resume()
|
8 years ago |
3moon
|
65761dc384
|
Make panic!s nicer
|
8 years ago |
3moon
|
48ca218dd0
|
Implement a `log` backend which writes to the VGA console
|
8 years ago |
3moon
|
ea581fceec
|
Nicer startup message
|
8 years ago |
3moon
|
3b21392383
|
documentation!
|
8 years ago |
3moon
|
2147553379
|
lib.rs: reindent, wire up console printing
|
8 years ago |
3moon
|
7393da2f4a
|
Add Rust stuff (unwind stubs, kernel_main() stub)
|
8 years ago |