diff --git a/include/kernel/arch/i686/interrupts.h b/include/kernel/arch/i686/interrupts.h index 40ca157..f6fd51e 100644 --- a/include/kernel/arch/i686/interrupts.h +++ b/include/kernel/arch/i686/interrupts.h @@ -175,3 +175,5 @@ static ALWAYS_INLINE bool interrupts_test_and_disable(void) } #endif /* KERNEL_I686_INTERRUPTS_H */ + +/** @} */ diff --git a/include/kernel/mmu.h b/include/kernel/mmu.h index 757db34..5fbf2d3 100644 --- a/include/kernel/mmu.h +++ b/include/kernel/mmu.h @@ -108,3 +108,5 @@ void mmu_identity_map(paddr_t start, paddr_t end, int prot); paddr_t mmu_find_physical(vaddr_t); #endif /* KERNEL_MMU_H */ + +/** @} */ diff --git a/include/kernel/process.h b/include/kernel/process.h index 82fb0a1..9bed38f 100644 --- a/include/kernel/process.h +++ b/include/kernel/process.h @@ -59,6 +59,7 @@ typedef struct process { /** Information relative to the current state of the process */ union { + /** For running processes only */ struct { /** End of the currently running process's timeslice */ timestamp_t preempt; diff --git a/include/kernel/spinlock.h b/include/kernel/spinlock.h index 78aa55b..56f573f 100644 --- a/include/kernel/spinlock.h +++ b/include/kernel/spinlock.h @@ -30,3 +30,5 @@ static ALWAYS_INLINE void spinlock_release(spinlock_t *lock) { __atomic_clear(&lock->locked, __ATOMIC_RELEASE); } + +/** @} */ diff --git a/include/kernel/symbols.h b/include/kernel/symbols.h index 2a5b5e2..41498f1 100644 --- a/include/kernel/symbols.h +++ b/include/kernel/symbols.h @@ -67,3 +67,5 @@ ALWAYS_INLINE const char *kernel_symbol_name(const kernel_symbol_t *sym) const kernel_symbol_t *kernel_symbol_from_address(u32 address); #endif /* KERNEL_SYMBOLS_H */ + +/** @} */ diff --git a/kernel/memory/pmm.c b/kernel/memory/pmm.c index 6c83876..a645277 100644 --- a/kernel/memory/pmm.c +++ b/kernel/memory/pmm.c @@ -179,6 +179,8 @@ static bool pmm_initialize_bitmap(struct multiboot_info *mbt) return true; } +/** @} */ + bool pmm_init(struct multiboot_info *mbt) { log_info("PMM", "Initializing pageframe allocator"); diff --git a/lib/libalgo/include/libalgo/libalgo.h b/lib/libalgo/include/libalgo/libalgo.h index fe50836..d14fd02 100644 --- a/lib/libalgo/include/libalgo/libalgo.h +++ b/lib/libalgo/include/libalgo/libalgo.h @@ -9,7 +9,8 @@ * Libalgo is my own implementation of different datastructures and algorithms * used by the kernel. * - * They are not necessarily optimized, nor well design, but at least they exist. + * They are not necessarily optimized, nor well design, but they have the merit + * to they exist. * */ diff --git a/lib/libalgo/include/libalgo/linked_list.h b/lib/libalgo/include/libalgo/linked_list.h index 58d2462..4a70842 100644 --- a/lib/libalgo/include/libalgo/linked_list.h +++ b/lib/libalgo/include/libalgo/linked_list.h @@ -152,3 +152,5 @@ static inline void llist_insert_sorted(llist_t *head, node_t *new, __llist_add(head, prev, new); } + +/** @} */ diff --git a/lib/libalgo/include/libalgo/queue.h b/lib/libalgo/include/libalgo/queue.h index 8feb183..01b0cba 100644 --- a/lib/libalgo/include/libalgo/queue.h +++ b/lib/libalgo/include/libalgo/queue.h @@ -61,3 +61,5 @@ static ALWAYS_INLINE const node_t *queue_peek(const queue_t *queue) { return queue->head; } + +/** @} */