Commit Graph

23 Commits

Author SHA1 Message Date
48cc6590a9 feat(idt): add load_idt instructions 2021-07-14 21:32:15 +02:00
8162cb5011 feat(idt): change selector to use segment_selector struct 2021-07-14 21:31:58 +02:00
1e0e16d290 feat(idt): add idt_entry, idt and idt_r structs 2021-07-14 20:39:59 +02:00
60800e71fd doc(gdt): add comments in gdt header
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-14 18:53:11 +02:00
5ada33613a fix(gdt): include gdt.h in k.c to remove compile warning
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-14 13:47:21 +02:00
Julien CLEMENT
439394c667
Merge pull request #1 from Azomasiel/gdt
Memory management: Global Descriptor Table
2021-07-14 11:41:20 +02:00
5a2f104d9a fix(gdt): revert gdt_r bitfield 2021-07-14 03:16:49 +02:00
2f06fe3f8b feat(bochsrc): add magic breakpoints for bochs 2021-07-14 03:15:58 +02:00
5ed734fae5 fix(gdt): set limit to 0xfffff 2021-07-13 22:47:20 +02:00
a5ff8a6a92 feat(gdt): add gdt kernel entries creation
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-13 22:31:01 +02:00
e862a4185b feat(gdt): add gdt loading
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-13 21:38:19 +02:00
67ec69bdde fix(gdt): put lsb first in gdt-entry bitfields
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-13 20:10:35 +02:00
2ee5432c9a feat(gdt): pack gdt_entry struct
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-13 18:19:12 +02:00
15c7d24715 feat(gdt): add gdt_entry struct 2021-07-13 05:05:58 +02:00
073d53728b feat: add k_init function 2021-07-13 04:47:32 +02:00
5e3155aebf feat(serial): call set_baud_rate in main 2021-07-13 03:16:12 +02:00
2fd5c536e0 feat(serial): call init_serial in main
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-13 06:31:28 +02:00
e92cc8877f feat(serial): add write
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-12 20:03:55 +02:00
202fc190ac feat(serial): add serial initialization and gitignore
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-12 19:46:21 +02:00
95ef09da4b feat: add .bochsrc given file 2021-07-12 18:40:23 +02:00
d0f6a2592b fix: coding style
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-12 18:01:40 +02:00
3e881a6f33 fix: coding style
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-12 17:55:13 +02:00
7178dbb6a7 feat: add given files
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-12 15:57:08 +02:00