Commit Graph

118 Commits

Author SHA1 Message Date
77a7f1229c add basic yield executor
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2023-01-06 18:42:12 +01:00
87ba7f2ab4 change syscall id types
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2023-01-05 20:11:36 +01:00
13f5c9dc0e better logging
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2023-01-04 21:51:40 +01:00
1bb4074e2f add statefull scheduler and syscall routine
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2023-01-04 21:45:22 +01:00
689f7c8810 add simple syscall architecture
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2023-01-04 20:49:06 +01:00
a1a01124de Start syscall interrupt handler
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2023-01-03 21:05:18 +01:00
6e64101d09 Make executor static with a force_unlock
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2023-01-03 20:29:25 +01:00
88fd29ea1a No idea how to do a spawner
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2023-01-02 22:38:17 +01:00
49f1821f9c thread yield refacto
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2023-01-01 15:50:57 +01:00
563d97f372 add cleaner exit, freeing thread's stack
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-31 13:50:24 +01:00
685dea4f6a basic scheduler
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-31 13:21:42 +01:00
af4ab10505 Minor thread and scheduler refactoring
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-31 12:23:27 +01:00
3a8167b6ad Basic thread run routine
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-31 12:05:20 +01:00
2522ece23f double faulting in thread start while pushing thread's general registers
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-31 03:49:04 +01:00
5a4f8a561e working on thread, assembly is trolling me somehow
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-31 03:02:46 +01:00
bc0c885052 add memory allocation for thread stack
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-31 00:05:17 +01:00
268b36188e start thread new
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-30 23:51:03 +01:00
9199c60948 create thread and scheduler base files
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-29 18:58:48 +01:00
7a443723e5 Remove mount point prefix in virtual FS open
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-28 18:50:47 +01:00
5303ea4581 add prefix tree map to search for mount points
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-27 21:38:45 +01:00
ec98428697 add trie map dependency
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-26 21:28:44 +01:00
184030a45e add lseek
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-25 17:07:40 +01:00
23184f56a3 move close in fd trait
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-25 16:53:48 +01:00
eb5a3a6635 add close and better fd assign
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-25 16:36:44 +01:00
446aff49ef add ISO read
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-25 15:38:45 +01:00
40b4191d2d remove ;1 at the end of file identifiers
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-25 14:24:09 +01:00
2e7415e1e6 more refactoring
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-25 13:02:25 +01:00
0ad8ba9adb refacto directory entries traversal
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-25 12:58:56 +01:00
d4add50d82 iso directory traversal
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-24 22:22:54 +01:00
91095b7d08 working on ISO fs open
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-24 16:49:35 +01:00
43eec9621c cargo-fmt
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-23 20:07:46 +01:00
b2ffbc34b5 basic virtual file system
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-23 20:02:49 +01:00
8518982932 basic FileSystem trait
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-23 19:47:50 +01:00
b9e49dd946 Trying to implement FileSystem trait
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-23 19:37:30 +01:00
e5eb05eb3d add register fd and fix bug in mutex
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-23 01:08:00 +01:00
d66fb31c9a starting to work on open(2)
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-22 22:03:06 +01:00
e2c2586a19 add async trait to make FD methods async
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-22 21:25:35 +01:00
ffe889a934 add basic file descriptor trait architecture
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-22 21:15:09 +01:00
519633b769 add parameter to print_block because i don't know why that wasn't already the case
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-21 20:52:00 +01:00
ab79782a78 refacto async mutex usage
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-21 20:36:18 +01:00
b9544293e5 pretty print std identifier
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-20 21:03:08 +01:00
a10579346c put atapi::init in async executor
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-20 20:59:02 +01:00
3968c4c376 async goes boom
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-20 20:55:49 +01:00
af9a7aa712 Add async mutex first version
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-20 20:38:18 +01:00
0c0af6414e Primary volume descriptor unserialization
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-19 20:47:33 +01:00
dcaea4454b refacto unserialize
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-19 20:25:52 +01:00
f567198f75 working on iso structs
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-18 16:23:39 +01:00
c4531b5074 struct size hacking shenanigans
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-17 20:31:14 +01:00
96e7b1cd8e oops iso was gitignored
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-17 19:59:29 +01:00
1ca57fdcdd Start iso structs, with rust black magic
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2022-12-17 19:57:49 +01:00