Commit Graph

48 Commits

Author SHA1 Message Date
75a00e9444 feat(ci): build on arch image
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-11-06 02:19:38 +01:00
941eaa5af0 feat(ci): use turbo-ci
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-11-06 02:07:47 +01:00
c0a99452c5 use custom registrt
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-11-05 23:23:28 +01:00
20f599af73 test(ci): put custom image
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-11-05 04:39:55 +01:00
82914c2eee test(ci): try other image in ci
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build was killed
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-11-05 03:09:55 +01:00
ed8c7a22fe feat(ci): add test CI
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-11-05 03:07:27 +01:00
f6cdc3005d feat(pit): add pit initialization and handler
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-26 14:15:21 +02:00
5064efa101 feat(pit): add pit isr, empty handler and unmasked pit irq
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-26 11:17:52 +02:00
cf020eae84 feat(keyboard): implement generic ring buffer and add getkey
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-26 10:41:51 +02:00
0e43e73fc7 feat(keyboard): add simple keyboard handler
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-26 09:04:30 +02:00
ac1b1f5376 Rework architecture
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-26 08:50:31 +02:00
7ceec0ee06 working on ocw2
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-26 00:24:04 +02:00
87eaa96d0c fix(pic): unmask IRQ1
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-21 20:38:20 +02:00
46e8386bbf feat(pic): add simple pic initialization
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-21 20:30:55 +02:00
51107d84c8 feat(isr): use macro to create isr wrappers
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-18 00:08:00 +02:00
b52f4fde48 feat(idt): set breakpoints and overflow as traps instead of interrupts
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-16 19:50:51 +02:00
Julien CLEMENT
f7392578c9
Merge pull request #2 from Azomasiel/interrupts
Interrupts
2021-07-16 15:12:40 +02:00
e425051af7 fix(isr): reallign stack after isr wrapper
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-16 15:11:48 +02:00
457dfdd7a4 feat(idt): specify idt_entries_descriptors length for compile safety
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-16 03:07:46 +02:00
4492b7e9d6 feat(isr): learnt to do assembly
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-16 03:03:20 +02:00
af24d0f18a feat(idt): add idt creation through idt entries descriptors
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-16 02:57:13 +02:00
02811acc2c feat(gdt): add macros for generic kernel segment descriptors
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-16 02:47:12 +02:00
ed803673c4 feat(isr): add isr wrappers in makefile
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-16 02:46:28 +02:00
10896fe2e9 feat(isr): add basic isr wrappers
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-16 02:46:07 +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
7178dbb6a7 feat: add given files
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-07-12 15:57:08 +02:00