summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-03-27 14:35:29 -0400
committerFreya Murphy <freya@freyacat.org>2025-03-27 14:38:43 -0400
commit6ece4e20acd943b49b05a36f14594ad7413c1897 (patch)
tree44ccdad86bdc4f1dabd5670f5c096046581c38b7 /kernel
parentmove user to 0x30000, update kernel.ld (diff)
downloadcomus-6ece4e20acd943b49b05a36f14594ad7413c1897.tar.gz
comus-6ece4e20acd943b49b05a36f14594ad7413c1897.tar.bz2
comus-6ece4e20acd943b49b05a36f14594ad7413c1897.zip
remove trailing whitespace
Diffstat (limited to 'kernel')
-rw-r--r--kernel/isrs.S2
-rw-r--r--kernel/kernel.c2
-rw-r--r--kernel/procs.c2
-rw-r--r--kernel/user.c4
4 files changed, 5 insertions, 5 deletions
diff --git a/kernel/isrs.S b/kernel/isrs.S
index f6bd662..ec539f2 100644
--- a/kernel/isrs.S
+++ b/kernel/isrs.S
@@ -183,7 +183,7 @@ isr_restore:
/*
** DEBUGGING CODE PART 1
**
-** This code will execute during each context restore, and
+** This code will execute during each context restore, and
** should be modified to print out whatever debugging information
** is desired.
**
diff --git a/kernel/kernel.c b/kernel/kernel.c
index 4a1fd07..1b940df 100644
--- a/kernel/kernel.c
+++ b/kernel/kernel.c
@@ -319,7 +319,7 @@ int main(void)
/*
** Create the initial user process
- **
+ **
** This code is largely stolen from the fork() and exec()
** implementations in syscalls.c; if those change, this must
** also change.
diff --git a/kernel/procs.c b/kernel/procs.c
index 64edb49..88589d0 100644
--- a/kernel/procs.c
+++ b/kernel/procs.c
@@ -339,7 +339,7 @@ void pcb_zombify(register pcb_t *victim)
**
** Also note: it's possible that the exiting process' parent is
** also init, which means we're letting one of zombie children
- ** of the exiting process be cleaned up by init before the
+ ** of the exiting process be cleaned up by init before the
** existing process itself is cleaned up by init. This will work,
** because after init cleans up the zombie, it will loop and
** call waitpid() again, by which time this exiting process will
diff --git a/kernel/user.c b/kernel/user.c
index a019430..7c475e8 100644
--- a/kernel/user.c
+++ b/kernel/user.c
@@ -35,7 +35,7 @@
** Location of the "user blob" in memory.
**
** These variables are filled in by the code in startup.S using values
-** passed to it from the bootstrap.
+** passed to it from the bootstrap.
**
** These are visible so that the startup code can find them.
*/
@@ -503,7 +503,7 @@ static context_t *stack_setup(pcb_t *pcb, uint32_t entry, const char **args)
** The user code was linked with a startup function that defines
** the entry point (_start), calls main(), and then calls exit()
** if main() returns. We need to set up the stack this way:
- **
+ **
** esp -> context <- context save area
** ... <- context save area
** context <- context save area