Commit Graph
69 Commits
Author SHA1 Message Date
christoph d89a24f6e3 Env: Update Flake 2023-03-18 12:02:07 +01:00
christoph 2226e76ebf Cleanup util classes 2022-12-08 22:43:14 +01:00
christoph 621036d591 Cleanup string classes 2022-12-08 22:42:26 +01:00
christoph 925b0f9b3e Cleanup memory classes 2022-12-08 22:23:08 +01:00
christoph 78a46fb6fd Cleanup container classes 2022-12-08 22:13:14 +01:00
christoph a9265107d9 Cleanup SerialOut 2022-12-08 21:49:03 +01:00
christoph cd86e90a15 Cleanup Semaphore/SpinLock 2022-12-08 21:48:53 +01:00
christoph 0fcd5f5e5d Remove hhu bmp 2022-12-08 21:48:21 +01:00
christoph 4909f59f3d Cleanup Service.h 2022-12-08 21:13:35 +01:00
christoph 8db18136c1 Cleanup SchedulerService.h 2022-12-08 21:12:29 +01:00
christoph e6ad7a56aa Cleanup SchedulerService.h 2022-12-08 21:09:16 +01:00
christoph e3cadd1fae Cleanup Interrupt 2022-12-08 21:02:15 +01:00
christoph 5965d6893e Cleanup Interrupt 2022-12-08 21:00:42 +01:00
christoph d5f4193e4f Fix Scheduler.cc missing include 2022-12-08 20:46:34 +01:00
christoph 6f1b83d222 Cleanup Interrupt 2022-12-08 20:46:22 +01:00
christoph 32b1eecb50 Cleanup Thread 2022-12-08 20:18:12 +01:00
christoph 01d5b76e6d Cleanup Thread 2022-12-08 20:16:08 +01:00
christoph 3f5b0c3f17 Cleanup Scheduler 2022-12-08 19:11:38 +01:00
christoph b29524aa45 Fix Vector (don't init in const functions) 2022-12-08 19:10:42 +01:00
christoph ad601e1332 Add macros to easily delete copy/move constructors 2022-12-08 19:10:12 +01:00
christoph 4b228ce301 Implement SchedulerService 2022-12-08 17:14:06 +01:00
christoph 42d0bcf2f4 Implement SchedulerService 2022-12-08 17:13:37 +01:00
christoph 312b844916 Implement SchedulerService 2022-12-08 17:13:34 +01:00
christoph a781e094ec Implement SchedulerService 2022-12-08 17:12:52 +01:00
christoph 14766941ca Implement SchedulerService 2022-12-08 17:12:18 +01:00
christoph 686efcb296 Hide IntDispatcher public interface (except from InterruptService) 2022-12-08 15:36:05 +01:00
christoph 0ef9e81d50 Vector: Add lazy init and size checking 2022-12-08 15:35:20 +01:00
christoph 84a3fb86f4 Array: Add size checking 2022-12-08 15:34:34 +01:00
christoph 6086e33343 Remove readonly restriction from Span 2022-12-08 14:11:02 +01:00
christoph f94638be82 Make Span read only and fixed size 2022-12-08 13:58:59 +01:00
christoph 9f89461155 Reformat 2022-12-08 13:58:44 +01:00
christoph 610ec1b2e9 Reformat 2022-12-08 13:31:25 +01:00
christoph e21fdbf3d4 IntDispatcher: Use default initialization instead of loop 2022-12-08 13:31:02 +01:00
christoph 4532afffb4 Fix the Array initializer list constructor (repeat last value) 2022-12-08 13:30:37 +01:00
christoph af01f4ecbf Update flake.nix 2022-12-08 13:29:48 +01:00
christoph 7c2b14c211 Update IntDispatcher.cc 2022-12-08 02:23:32 +01:00
christoph 68441c91a8 Remove stuff that services made obsolete from Globals.h 2022-12-08 02:22:57 +01:00
christoph 6851746d76 Use InterruptService in PIT.cc, Keyboard.cc 2022-12-08 02:22:40 +01:00
christoph 13c17ddc82 Setup InterruptService in main.cc 2022-12-08 02:22:19 +01:00
christoph e93db14014 Add new service stuff to build targets 2022-12-08 02:22:05 +01:00
christoph 4838700c8e Add missing constructors to Service.h 2022-12-08 02:21:36 +01:00
christoph 6c8ab582ef Implement Kernel::System to manage system services 2022-12-08 02:21:23 +01:00
christoph 1cfc94199c Implement most InterruptService functionality 2022-12-08 02:20:49 +01:00
christoph 4b84c254ff Add empty TimeService 2022-12-08 02:20:20 +01:00
christoph 663fabf074 Implement Util::System to keep system utility functions like streams 2022-12-08 02:19:52 +01:00
christoph 56eb074192 Rename lib/mem to lib/Memory 2022-12-08 02:18:27 +01:00
christoph d7bfceca8b Rename lib/mem to lib/Memory 2022-12-08 02:17:29 +01:00
christoph 9f45f6af64 Rename lib/mem to lib/Memory 2022-12-08 02:17:14 +01:00
christoph 1abf0d5fdd Rename lib/mem to lib/Memory 2022-12-08 02:17:09 +01:00
christoph 136062b370 Rename lib/mem to lib/Memory 2022-12-08 02:16:56 +01:00
christoph 8d35ce0aa4 Update IntDispatcher.h, PIC.h: Expose named interrupt structs 2022-12-08 02:16:22 +01:00
christoph 31e7702550 Remove Service.cpp 2022-12-08 02:15:15 +01:00
christoph a0af7fc3a7 Span does runtime checks of bounds (if exist) now 2022-12-08 02:15:03 +01:00
christoph f5ee5f6942 Reformat 2022-12-08 02:14:04 +01:00
christoph 1455757e24 Add empty system class 2022-12-07 21:36:33 +01:00
christoph 61d15f1be5 Add empty services 2022-12-07 21:36:22 +01:00
christoph 6f3a7ae028 Make classes uppercase 2022-12-07 21:35:50 +01:00
christoph bd95f86035 Make classes uppercase 2022-12-07 21:35:10 +01:00
christoph 1aa029922f Namespace classes 2022-12-07 21:17:27 +01:00
christoph c87e691588 Switch more char/short/int/long to sized type 2022-12-07 18:39:13 +01:00
christoph ae98dc586e Switch int to sized types 2022-12-07 18:08:15 +01:00
christoph d8fce00eed Update README 2022-12-07 17:22:01 +01:00
christoph fb64e3094a Add README from BSEos v1.4 2022-12-07 16:41:06 +01:00
christoph fd0594323e Add build/run scripts 2022-12-07 16:40:51 +01:00
christoph f304e7f239 Setup cmake project 2022-12-07 16:40:43 +01:00
christoph db2816a092 Add .gitignore 2022-12-07 16:38:43 +01:00
christoph 4d233bd8cb Add .envrc 2022-12-07 16:37:49 +01:00
christoph 8818ab9b94 Update flake 2022-12-07 16:36:31 +01:00
christoph fbb85631ed Add flake 2022-12-06 23:03:36 +01:00