Commit Graph

51 Commits

Author SHA1 Message Date
26bdfc63d6 feat(atapi): add discover for all drives 2021-07-26 15:00:23 +02:00
38bb731587 feat(atapi): add atapi to Makefile 2021-07-26 14:55:43 +02:00
cec3398b85 feat(atapi): unmask atapi IRQs 2021-07-26 14:55:31 +02:00
363eea1f6e feat(atapi): add drive discover functions 2021-07-26 14:55:13 +02:00
db8159b85d fix(pit): return number of ticks 2021-07-26 14:53:59 +02:00
f4fd174a41 feat(keyboard): renamed keyboard handler function 2021-07-17 11:58:28 +02:00
661d54463a feat(pit): init pit 2021-07-17 11:57:59 +02:00
8762f55b24 feat(pit): add pit to isr and idt entries 2021-07-17 11:57:21 +02:00
416b4337c7 feat(pit): add pit functions 2021-07-17 11:56:34 +02:00
26bdf84db4 feat(pic): move pic.c in pic dir 2021-07-17 10:40:08 +02:00
1cb57e6a9f feat(idt): use new ring_buffer functions 2021-07-17 05:27:44 +02:00
0b394c2c08 fix(ring_buffer): fixed pb when write_index comes back to 0 2021-07-17 05:26:54 +02:00
f7246ffcdb feat(ring_buffer): add ring_buffer struct 2021-07-16 18:07:57 +02:00
b33bf5aef6 feat(isr): use offset instead of huge struct for handler 2021-07-16 14:07:04 +02:00
f258a08be0 feat(keyboard): add keyboard to Makefile 2021-07-16 03:24:18 +02:00
d255839400 feat(keyboard): add getkey function 2021-07-16 03:24:01 +02:00
a98c35a226 feat(pic): mask all PIC except keyboard 2021-07-16 03:18:43 +02:00
f636fcbadf feat(pic): add pic functions to idt 2021-07-15 16:53:58 +02:00
d5a8623acd feat(pic): use remap_pic 2021-07-15 16:53:44 +02:00
ff0f7f79bd feat(pic): add pic to Makefile 2021-07-15 16:53:26 +02:00
5ed0955ce5 feat(pic): add remapping of pic 2021-07-15 16:52:19 +02:00
76174c5b4f feat(pic): add pic keyboard function to isr funcs 2021-07-15 16:47:56 +02:00
aaa72211ec fix(idt): fix args struct to get err_code and int_code 2021-07-15 15:22:41 +02:00
79c2edc93f feat(idt): add documentation 2021-07-15 04:55:18 +02:00
a3596f3656 feat(idt): add structs and infos for idt_entry creation 2021-07-15 04:42:11 +02:00
2b3d6372cf feat(isr): add isr files to Makefile 2021-07-15 00:38:12 +02:00
3587364471 feat(isr): add assembly code for interrupt routines 2021-07-15 00:37:44 +02:00
96610353c8 feat(idt): add idt creation
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-14 22:57:38 +02:00
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