summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/NewKit/Array.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-15 13:56:17 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-05-15 13:56:17 +0200
commit6a30f42d5dcd0f944262147b2806db6c14fe7ffc (patch)
tree86d86a66df2941e49d1d332aaa1671c11db594e5 /dev/kernel/NewKit/Array.h
parentf8aaa274535b6541f376090958eedbbba3ba00ba (diff)
feat(kernel): Finalizing the first version of the user scheduler.
other: - Removed DmaPool into its own Kit. - ApplicationProcessor unit has been cleaned up. - Rename functions of MemoryMgr. - Use KIB instead of MIBs of stack. - Cleanup parts of the scheduler, and hw scheduler. - Use UD handler for INT 6. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/NewKit/Array.h')
-rw-r--r--dev/kernel/NewKit/Array.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/dev/kernel/NewKit/Array.h b/dev/kernel/NewKit/Array.h
index af73d002..767d8678 100644
--- a/dev/kernel/NewKit/Array.h
+++ b/dev/kernel/NewKit/Array.h
@@ -20,10 +20,7 @@ class Array final {
Array& operator=(const Array&) = default;
Array(const Array&) = default;
- T& operator[](SizeT at) {
- MUST_PASS(at < this->Count());
- return fArray[at];
- }
+ T& operator[](SizeT at) { return fArray[at]; }
Boolean Empty() { return this->Count() > 0; }