Commit graph

161 commits

Author SHA1 Message Date
Jack Halford
42e06809ac x86lib update 2018-03-29 20:32:23 +02:00
Jack Halford
c24ac47698 pio and x86/pic 2018-03-29 20:29:04 +02:00
Jack Halford
6d8c31b42c major refactoring for upcoming cross platform, also recycle allocator for the physical frames 2018-03-29 17:10:42 +02:00
Jack Halford
095c369061 x86 tss 2018-03-26 15:22:27 +02:00
Jack Halford
9d69b7a82a stack allocator, keyboard doesnt work with interrupts yet, i think i need to tell 0x20 and 0x21 to shift interrupt by 32 because of intel bug. tomorrow 2018-03-26 15:22:27 +02:00
Jack Halford
30a8daf1a3 first interrupts works 2018-03-26 15:19:07 +02:00
Jack Halford
098d222fc1 int 2018-03-26 15:18:28 +02:00
wescande
5c7daabdd0 little correctif 2018-03-20 13:37:51 +01:00
Jack Halford
0526b88859 merge done, x86 is now a module 2018-03-19 12:23:42 +01:00
Jack Halford
ed03d247c7 it works:))) 2018-03-19 12:14:30 +01:00
wescande
519ce623fe Merge branch 'KFS-2' into KFS-3 2018-03-19 11:44:09 +01:00
wescande
cdea287ecd acpi can run in kfs-3 2018-03-19 11:23:53 +01:00
wescande
4863945042 multiboot update 2018-03-19 10:58:54 +01:00
wescande
904e7158d8 acpi in static not in reference 2018-03-16 15:03:00 +01:00
Jack Halford
5c2b5f723b yuesterdays problem solved, now i triple fault on write to CR3, fun 2018-03-15 17:16:01 +01:00
Jack Halford
8cf793260c it compiles now with the new x86 lib, triple faults when setting temp page to zero though 2018-03-14 18:59:17 +01:00
Jack Halford
0b38f701ed WIP 2018-03-13 20:06:25 +01:00
Jack Halford
e73d3e175a Merge branch 'KFS-3' of github.com:jzck/kernel into KFS-3 2018-03-13 15:43:05 +01:00
Jack Halford
99f0ec0b7d stuff 2018-03-13 15:42:30 +01:00
wescande
0c3589655f scroll is cleaning color 2018-03-13 13:30:00 +01:00
Jack Halford
3dfc440d20 heap allocator in place, no free yet 2018-03-12 17:48:24 +01:00
Jack Halford
36b51236b3 with the remap line 2018-03-12 14:53:48 +01:00
Jack Halford
ec1e7c8a5b tlb added, acpi still faults with the new memory 2018-03-12 14:53:26 +01:00
Jack Halford
f0456aa7fd i must have done something right becuase now 0xffff_f000 points to p2 as expected, hurray 2018-03-11 18:41:34 +01:00
Jack Halford
bbe2b8b1e6 still no debug symbols 2018-03-10 17:35:51 +01:00
Jack Halford
1f5a361870 some changes 2018-03-09 13:12:21 +01:00
wescande
0d8ecdf191 remove log 2018-03-08 15:10:32 +01:00
wescande
11c3614060 oop multiboot 2018-03-08 14:59:59 +01:00
wescande
9ba59d5858 Set ready for KFS-2 2018-03-08 14:50:25 +01:00
Jack Halford
3041cec87d mmu code mostly written, needs a lot of debugging still 2018-03-07 19:15:19 +01:00
Jack Halford
d491624274 rut stable, going to do some assembly now 2018-03-05 13:29:44 +01:00
Jack Halford
5412334168 it runs 2018-03-05 13:12:02 +01:00
Jack Halford
3d532a5a7a memory stuff 2018-03-05 11:29:07 +01:00
Jack Halford
120292566d context works fianlly 2018-03-05 11:29:07 +01:00
Jack Halford
edfffc3b13 this shit compiles but crashes after fighting for eternity with the borrow checker 2018-03-05 11:28:20 +01:00
Jack Halford
0f5bf89493 -amend 2018-03-05 11:24:23 +01:00
Jack Halford
2a2f377b9f first commit for kfs3 2018-03-05 11:24:23 +01:00
wescande
2ca356340a some minor fix 2018-03-02 18:44:41 +01:00
wescande
6e2456d2f8 Merge branch 'ACPI' into KFS-2 + add help function 2018-03-02 17:09:42 +01:00
wescande
614da57de3 Add FULL ACPI support, change exec mode 2018-03-02 15:48:06 +01:00
Jack Halford
bcf58de7ac some sweet commands to finish up kfs2, gonna start the frame allocator now 2018-02-28 19:28:48 +01:00
Jack Halford
52af278a91 added multiboot as a local crate 2018-02-28 15:10:17 +01:00
Jack Halford
7d08ddf53c stack printed, but is it really the stack ? 2018-02-26 16:14:59 +01:00
Jack Halford
063cab66f2 rudimentary hexdump 2018-02-26 13:15:12 +01:00
Jack Halford
0877ac2cc6 linker script again 2018-02-22 19:17:52 +01:00
Jack Halford
fc3c60d970 use objdump -h build/kernel-x86.bin to show sections, linker scripts squishes relevant ones together 2018-02-22 18:54:08 +01:00
Jack Halford
3ee7508331 doc comment testing 2018-02-21 15:56:27 +01:00
Jack Halford
4a12411aa8 travis and readme 2018-02-21 15:52:44 +01:00
Jack Halford
32616c2497 ok it compiles 2018-02-21 14:09:31 +01:00
Jack Halford
3c2b7f3f75 doesnt compile, 2 sec 2018-02-21 14:07:26 +01:00
Jack Halford
4f809497ca cargo toml 2018-02-21 13:41:23 +01:00
Jack Halford
554872c8fa added console.rs to group commands, refactored the command buffer and command matching code 2018-02-21 13:28:59 +01:00
wescande
0e7b73e2fa mini-shell for 3 cmd. we have to implemente it now 2018-02-15 19:38:27 +01:00
wescande
e72afcd086 Merge branch 'KFS-2' of https://github.com/jzck/kernel into KFS-2 2018-02-15 17:56:01 +01:00
wescande
c3f7c123f6 gdt rocks 2018-02-15 17:55:41 +01:00
Jack Halford
f6384015d6 starting to convert vga buffer to a terminal 2018-02-15 11:09:27 +01:00
Jack Halford
13005548ee merged kfs-1 changes 2018-02-13 14:37:22 +01:00
Jack Halford
6598cbe3eb cursor is now the real VGA buffer cursor 2018-02-13 14:35:17 +01:00
Jack Halford
d6423d5a78 cleanup 2018-02-13 09:40:26 +01:00
Jack Halford
864d2dca4e cleanup 2018-02-13 09:38:25 +01:00
wescande
9bb408b77a lol 2018-02-12 18:19:01 +01:00
Jack Halford
bd86aae536 lol 2018-02-12 18:00:15 +01:00
Jack Halford
1e278eebe3 colors at startup 2018-02-12 17:49:39 +01:00
wescande
37d51d2afe init kfs_2 2018-02-12 17:08:06 +01:00
wescande
097dfd7ddc yolo 2018-02-12 16:49:30 +01:00
wescande
b730734cef Merge branch 'master' of https://github.com/jzck/kernel 2018-02-12 16:25:45 +01:00
wescande
d8e0647153 Merge branch 'master' of https://github.com/jzck/kernel 2018-02-12 16:17:26 +01:00
Jack Halford
3f2068de99 print[ln] macros in place 2018-02-12 16:16:42 +01:00
wescande
27589f5d2c Merge remote-tracking branch 'origin/keyboard_handle' 2018-02-12 16:14:47 +01:00
Jack Halford
2503fdb96d CONTEXT is instanciated at compile time now 2018-02-12 16:11:47 +01:00
Jack Halford
c1cb1e5620 greatly simplified Writer by removing T generic, 0xb8000 is now hardcoded in flush() 2018-02-12 16:06:00 +01:00
Jack Halford
67dbf5d9b3 context::Context handles multiple Writers, Writer handles cursor 2018-02-12 15:22:35 +01:00
wescande
6dd33393df keyboard handle maj 2018-02-12 12:55:23 +01:00
Jack Halford
66d75c0895 starting to make vga more modular, keyboard controls which screen is in scope 2018-02-10 18:18:58 +01:00
Jack Halford
7429ab83c8 better panic formatting 2018-02-09 18:56:10 +01:00
Jack Halford
8f2f89eae6 ignore 2018-02-09 17:53:03 +01:00
Jack Halford
f53468a1f5 cursor support :) 2018-02-09 17:51:38 +01:00
Jack Halford
c2df8effbe it compiles 2018-02-09 17:36:36 +01:00
Jack Halford
698a859b7c merge 2018-02-09 17:30:33 +01:00
Jack Halford
44e6787e2e makefile gdb 2018-02-09 17:28:53 +01:00
wescande
1476c49f2b Gdb enabled 2018-02-09 17:25:36 +01:00
Jack Halford
01fb8e1667 Merge branch 'master' of https://github.com/jzck/kernel 2018-02-09 17:10:44 +01:00
Jack Halford
15b0890ad3 stuff 2018-02-09 17:07:47 +01:00
wescande
f2405aaa58 makefile over 9000 2018-02-09 17:00:41 +01:00
wescande
be1b0def36 rectif port telnet 2018-02-09 14:54:01 +01:00
Jack Halford
56c937e620 vga 2018-02-09 14:50:07 +01:00
Jack Halford
4c12c768dc vga_buffer code first commit 2018-02-08 23:02:32 +01:00
wescande
69299bda2d basic rust call in 32b 2018-02-08 19:18:14 +01:00
wescande
612662870c make split tmux screen 2018-02-07 20:01:36 +01:00
Jack Halford
aec4b53e53 stuff 2018-02-06 23:39:33 +01:00
Jack Halford
6c252fb5da Update README.md 2018-02-06 14:44:29 +01:00
Jack Halford
1bfdff2a76 comments 2018-02-05 20:15:08 +01:00
Jack Halford
25a76fce29 Merge branch 'master' of https://github.com/jzck/kernel 2018-02-05 18:13:16 +01:00
Jack Halford
deb033ff50 stuck in the middle of paging 2018-02-05 18:13:10 +01:00
Jack Halford
2b4ee5d846 Update README.md 2018-02-05 11:16:01 +01:00
Jack Halford
aea724a64d Update README.md 2018-02-05 10:28:16 +01:00
Jack Halford
9a6ba1d03d Merge branch 'master' of https://github.com/jzck/kernel 2018-02-04 18:57:29 +00:00
Jack Halford
b347842b8d rust setup stuff 2018-02-04 18:57:20 +00:00
Jack Halford
4c019ca695 Update README.md 2018-02-04 19:48:28 +01:00
Jack Halford
88020a6fc3 Update README.md 2018-02-04 19:48:13 +01:00