diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-04 14:23:44 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-04 14:23:44 +0100 |
| commit | ad072dbf39036eaeb2879bd39f5195175d8b1280 (patch) | |
| tree | 2cc5b3c5aac6895a7ad214ee2b25feb3021c4fe6 /kernel/trap.c | |
| parent | 75fc0bb454b6da14ca42168006af65577fbdfc39 (diff) | |
| download | fbos-ad072dbf39036eaeb2879bd39f5195175d8b1280.tar.gz fbos-ad072dbf39036eaeb2879bd39f5195175d8b1280.zip | |
Move documentation to the proper places
Code documentation was scattered between header and source files. Since
the norm was already to have this documentation into header files, move
some comments from source files to their header counterparts. This
hopefully makes things more consistent.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'kernel/trap.c')
| -rw-r--r-- | kernel/trap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/trap.c b/kernel/trap.c index 29f1c21..855b048 100644 --- a/kernel/trap.c +++ b/kernel/trap.c @@ -39,6 +39,11 @@ __kernel void time_out_in_one_second(void) } } +/* + * Exception handler. For this kernel, it only ensures that the 'write' system + * call is the one responsible for this exception and handles it; otherwise it + * will die. + */ __kernel __always_inline void exception_handler(uint64_t cause) { register char *message asm("a0"); |
