Skip to content

Commit ba767fa

Browse files
committed
MacBook Pro vault backup on 2026-02-25 15:47:14
Affected files: Semesters/Spring 2026 Semester/CS 378 - Multicore Operating Systems/Modular Kernel.md
1 parent e347b3c commit ba767fa

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Painting a Picture
2+
3+
Imagine we have a kernel, and have a `my_mod.c` file that defines some module that the kernel can use. This is not meant to be a standalone program, so it doesn't have a `main` entrypoint, but instead something like `mod_init()`.
4+
5+
We compile it to a `.o` file. We want this file to be able to integrate into the kernel without necessarily linking into it.
6+
7+
This requires some semblance of a dynamic linker/loader.

0 commit comments

Comments
 (0)