<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pub/teachos/kernel.git/arch/x86_64/scripts, branch develop</title>
<subtitle>An educational OS kernel</subtitle>
<link rel='alternate' type='text/html' href='http://source.arknet.ch/pub/teachos/kernel.git/'/>
<entry>
<title>x86_64: stop loading uninitialized data</title>
<updated>2026-09-05T09:27:44+00:00</updated>
<author>
<name>Felix Morgner</name>
<email>felix.morgner@ost.ch</email>
</author>
<published>2026-09-05T09:27:44+00:00</published>
<link rel='alternate' type='text/html' href='http://source.arknet.ch/pub/teachos/kernel.git/commit/?id=c0b2173d6b6c4587d1df3e8ea992ee19c9ff4418'/>
<id>c0b2173d6b6c4587d1df3e8ea992ee19c9ff4418</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>x86_64/cpu: improve stack overflow detection</title>
<updated>2026-09-05T09:21:18+00:00</updated>
<author>
<name>Felix Morgner</name>
<email>felix.morgner@ost.ch</email>
</author>
<published>2026-09-05T09:18:38+00:00</published>
<link rel='alternate' type='text/html' href='http://source.arknet.ch/pub/teachos/kernel.git/commit/?id=3eb72bb6bc7446df3e34bd990cb84a0b8178b9cd'/>
<id>3eb72bb6bc7446df3e34bd990cb84a0b8178b9cd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>x86_64/cpu: isolate kernel and IST1 stack</title>
<updated>2026-09-04T16:19:51+00:00</updated>
<author>
<name>Felix Morgner</name>
<email>felix.morgner@ost.ch</email>
</author>
<published>2026-09-04T16:14:16+00:00</published>
<link rel='alternate' type='text/html' href='http://source.arknet.ch/pub/teachos/kernel.git/commit/?id=aee4582fb5144e1dd493041a8d1fc0c08146a622'/>
<id>aee4582fb5144e1dd493041a8d1fc0c08146a622</id>
<content type='text'>
Previously, the  kernel stack was allocated inside the .kernel_bss
section, along other uninitialized data. While this works, it assumes
that the section will always be laid out with the kernel stack at the
top. If that is not the case, the allocated guard page before
.kernel_bss would not trigger a #PF since out-of-bounds (overflow)
access would quietly overwrite other data in the section, thus
potentially corrupting global kernel data.

At the same time, there was no separate section (and guard page) for the
future #DF exception stack (IST1 in our case). Thus we allocate a
section, and a guard page, while we are already modifying the linker script.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the  kernel stack was allocated inside the .kernel_bss
section, along other uninitialized data. While this works, it assumes
that the section will always be laid out with the kernel stack at the
top. If that is not the case, the allocated guard page before
.kernel_bss would not trigger a #PF since out-of-bounds (overflow)
access would quietly overwrite other data in the section, thus
potentially corrupting global kernel data.

At the same time, there was no separate section (and guard page) for the
future #DF exception stack (IST1 in our case). Thus we allocate a
section, and a guard page, while we are already modifying the linker script.
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel/fs: rework filesystem probing</title>
<updated>2026-08-26T09:16:17+00:00</updated>
<author>
<name>Felix Morgner</name>
<email>felix.morgner@ost.ch</email>
</author>
<published>2026-08-23T16:10:10+00:00</published>
<link rel='alternate' type='text/html' href='http://source.arknet.ch/pub/teachos/kernel.git/commit/?id=84aac7e26dae2b4364d2f1145d4b2b40f1e37585'/>
<id>84aac7e26dae2b4364d2f1145d4b2b40f1e37585</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kapi: add automatic driver registration</title>
<updated>2026-07-31T22:33:56+00:00</updated>
<author>
<name>Felix Morgner</name>
<email>felix.morgner@ost.ch</email>
</author>
<published>2026-07-31T22:33:56+00:00</published>
<link rel='alternate' type='text/html' href='http://source.arknet.ch/pub/teachos/kernel.git/commit/?id=5ce5c28e0f0f034cb7c704f08e59089ef303ff7e'/>
<id>5ce5c28e0f0f034cb7c704f08e59089ef303ff7e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel/vfs: extract fs type registry</title>
<updated>2026-06-02T14:30:20+00:00</updated>
<author>
<name>Felix Morgner</name>
<email>felix.morgner@ost.ch</email>
</author>
<published>2026-06-02T08:54:17+00:00</published>
<link rel='alternate' type='text/html' href='http://source.arknet.ch/pub/teachos/kernel.git/commit/?id=d2d4fa3330a09f421b8658c077166cc493532b9e'/>
<id>d2d4fa3330a09f421b8658c077166cc493532b9e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel/vfs: rename type descriptor section</title>
<updated>2026-06-02T14:30:20+00:00</updated>
<author>
<name>Felix Morgner</name>
<email>felix.morgner@ost.ch</email>
</author>
<published>2026-06-01T08:40:39+00:00</published>
<link rel='alternate' type='text/html' href='http://source.arknet.ch/pub/teachos/kernel.git/commit/?id=86170be29f6cb72b29865db0975de09bec89f854'/>
<id>86170be29f6cb72b29865db0975de09bec89f854</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel/vfs: prepare fs type registration support</title>
<updated>2026-06-02T14:30:20+00:00</updated>
<author>
<name>Felix Morgner</name>
<email>felix.morgner@ost.ch</email>
</author>
<published>2026-05-22T18:18:05+00:00</published>
<link rel='alternate' type='text/html' href='http://source.arknet.ch/pub/teachos/kernel.git/commit/?id=dc9bd3b44cbbd0235a176f05c27eb15ff31f5e09'/>
<id>dc9bd3b44cbbd0235a176f05c27eb15ff31f5e09</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>x86_64: remove stl_* sections for now</title>
<updated>2026-03-16T07:46:11+00:00</updated>
<author>
<name>Felix Morgner</name>
<email>felix.morgner@ost.ch</email>
</author>
<published>2026-03-16T07:46:11+00:00</published>
<link rel='alternate' type='text/html' href='http://source.arknet.ch/pub/teachos/kernel.git/commit/?id=81d1228cd0654d11efba13adb3ab7301d2b5ca49'/>
<id>81d1228cd0654d11efba13adb3ab7301d2b5ca49</id>
<content type='text'>
We currently don't really support user mode anymore, since it doesn't
integrate well within the architecture. We therefore need no special
handling of STL and kstd anymore.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We currently don't really support user mode anymore, since it doesn't
integrate well within the architecture. We therefore need no special
handling of STL and kstd anymore.
</pre>
</div>
</content>
</entry>
<entry>
<title>x86_64/boot: fix section assignments in ld script</title>
<updated>2025-12-29T13:43:20+00:00</updated>
<author>
<name>Felix Morgner</name>
<email>felix.morgner@ost.ch</email>
</author>
<published>2025-12-29T13:43:20+00:00</published>
<link rel='alternate' type='text/html' href='http://source.arknet.ch/pub/teachos/kernel.git/commit/?id=fb1c180c431e3ac07ca56f53299edea316883842'/>
<id>fb1c180c431e3ac07ca56f53299edea316883842</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
