<feed xmlns='http://www.w3.org/2005/Atom'>
<title>stm32l4.git/src/kern/panic.c, branch master</title>
<subtitle>My bare metal hacking on an stm32l432</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/stm32l4.git/'/>
<entry>
<title>run clang-format.</title>
<updated>2021-10-26T07:55:33+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2021-10-26T07:55:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/stm32l4.git/commit/?id=2c94d5baaec9e65550df942cf976db48bd36d9b5'/>
<id>2c94d5baaec9e65550df942cf976db48bd36d9b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed annoying bug with bootup when compiling with new GCC.</title>
<updated>2021-10-26T06:04:44+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2021-10-26T06:04:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/stm32l4.git/commit/?id=dbbe83bd8882fe18e26f6305a1f425145bfea8db'/>
<id>dbbe83bd8882fe18e26f6305a1f425145bfea8db</id>
<content type='text'>
The problem was the BSS segment was not aligned with size 4,
thus the routine to clear the BSS segment was infinite looping,
clobbering everything in it's wake until it ran off the memory edge and
caused a hard fault.

This commit does a couple of things.

  1. Fixes the alignment issue in the linker script
  2. Panics if the bss/data segments are not aligned properly
  3. Makes the logging the _first_ thing to initialize. Much easier to
     debug that way!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem was the BSS segment was not aligned with size 4,
thus the routine to clear the BSS segment was infinite looping,
clobbering everything in it's wake until it ran off the memory edge and
caused a hard fault.

This commit does a couple of things.

  1. Fixes the alignment issue in the linker script
  2. Panics if the bss/data segments are not aligned properly
  3. Makes the logging the _first_ thing to initialize. Much easier to
     debug that way!
</pre>
</div>
</content>
</entry>
<entry>
<title>Primitive ability to call kernel code from userspace.</title>
<updated>2020-11-25T22:47:02+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2020-11-25T22:47:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/stm32l4.git/commit/?id=6d22b0dfc7761a605758552d5824f8039ac5a00f'/>
<id>6d22b0dfc7761a605758552d5824f8039ac5a00f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Changes to painic. It now prints the stack at the time of failure (if logging is initialized).</title>
<updated>2020-11-24T23:41:49+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2020-11-24T23:41:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/stm32l4.git/commit/?id=c29e0323020e0f96932d0f9b09747d5b2e28e5a6'/>
<id>c29e0323020e0f96932d0f9b09747d5b2e28e5a6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add better logging capabilities, including the ability to panic.</title>
<updated>2020-11-24T22:22:42+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2020-11-24T22:15:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/stm32l4.git/commit/?id=ecbcb2509f4b811bce0a56e07de9737d14815251'/>
<id>ecbcb2509f4b811bce0a56e07de9737d14815251</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
