<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pub/users/cem/toxicos.git/src/mm, branch master</title>
<subtitle>[no description]</subtitle>
<link rel='alternate' type='text/html' href='http://toxiclabs.cc/cgit.cgi/pub/users/cem/toxicos.git/'/>
<entry>
<title>mm: enable paging</title>
<updated>2025-10-07T06:18:42+00:00</updated>
<author>
<name>Carlos Maiolino</name>
<email>cem@toxiclabs.cc</email>
</author>
<published>2025-10-07T06:13:55+00:00</published>
<link rel='alternate' type='text/html' href='http://toxiclabs.cc/cgit.cgi/pub/users/cem/toxicos.git/commit/?id=da471de9d1367f6f69b5a5d3a21109b737d31024'/>
<id>da471de9d1367f6f69b5a5d3a21109b737d31024</id>
<content type='text'>
Add infra-structure to enable and manipulate page tables in the
processor.

Signed-off-by: Carlos Maiolino &lt;cem@toxiclabs.cc&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add infra-structure to enable and manipulate page tables in the
processor.

Signed-off-by: Carlos Maiolino &lt;cem@toxiclabs.cc&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mm: add kzalloc helper</title>
<updated>2025-10-07T06:18:29+00:00</updated>
<author>
<name>Carlos Maiolino</name>
<email>cem@toxiclabs.cc</email>
</author>
<published>2025-10-06T05:31:40+00:00</published>
<link rel='alternate' type='text/html' href='http://toxiclabs.cc/cgit.cgi/pub/users/cem/toxicos.git/commit/?id=44117e4031563d4ff8c0f35302ff21329645a8ab'/>
<id>44117e4031563d4ff8c0f35302ff21329645a8ab</id>
<content type='text'>
Signed-off-by: Carlos Maiolino &lt;cem@toxiclabs.cc&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Carlos Maiolino &lt;cem@toxiclabs.cc&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a kernel heap</title>
<updated>2025-09-14T12:18:41+00:00</updated>
<author>
<name>Carlos Maiolino</name>
<email>cem@toxiclabs.cc</email>
</author>
<published>2025-09-14T12:18:41+00:00</published>
<link rel='alternate' type='text/html' href='http://toxiclabs.cc/cgit.cgi/pub/users/cem/toxicos.git/commit/?id=cd2c4e4a25cb41ca6fe622f0ccf1b1a3dd9d5660'/>
<id>cd2c4e4a25cb41ca6fe622f0ccf1b1a3dd9d5660</id>
<content type='text'>
Use the heap API to implement a 100MiB heap to
be used by the kernel code.

Add example usage to src/kernel.c

Signed-off-by: Carlos Maiolino &lt;cem@toxiclabs.cc&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the heap API to implement a 100MiB heap to
be used by the kernel code.

Add example usage to src/kernel.c

Signed-off-by: Carlos Maiolino &lt;cem@toxiclabs.cc&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>heap_malloc_pages should check for a negative value</title>
<updated>2025-09-14T12:08:28+00:00</updated>
<author>
<name>Carlos Maiolino</name>
<email>cem@toxiclabs.cc</email>
</author>
<published>2025-09-14T12:08:28+00:00</published>
<link rel='alternate' type='text/html' href='http://toxiclabs.cc/cgit.cgi/pub/users/cem/toxicos.git/commit/?id=833f883ab85d57d8f9cfae5a2181b3e097fae8bd'/>
<id>833f883ab85d57d8f9cfae5a2181b3e097fae8bd</id>
<content type='text'>
The first heap page (0x0) is a valid and usable page for now.

When checking the starting page from heap_get_start_page(), we need to
take that into account, otherwise we'll always return the first 0x0 page
as the allocated page.
This makes the users to always get 0x0 as the allocated region.

We loose the possibility for error checking here, so we'll need to
rework this API so we can get an error check.

Signed-off-by: Carlos Maiolino &lt;cem@toxiclabs.cc&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The first heap page (0x0) is a valid and usable page for now.

When checking the starting page from heap_get_start_page(), we need to
take that into account, otherwise we'll always return the first 0x0 page
as the allocated page.
This makes the users to always get 0x0 as the allocated region.

We loose the possibility for error checking here, so we'll need to
rework this API so we can get an error check.

Signed-off-by: Carlos Maiolino &lt;cem@toxiclabs.cc&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a simple heap implementation</title>
<updated>2025-09-14T10:56:39+00:00</updated>
<author>
<name>Carlos Maiolino</name>
<email>cem@toxiclabs.cc</email>
</author>
<published>2025-09-14T10:56:39+00:00</published>
<link rel='alternate' type='text/html' href='http://toxiclabs.cc/cgit.cgi/pub/users/cem/toxicos.git/commit/?id=e79687494bc3b01f42a79b0c355533e6e39e9a9d'/>
<id>e79687494bc3b01f42a79b0c355533e6e39e9a9d</id>
<content type='text'>
Add a simple API implementing a heap memory area.

This specifies 2 main data structures:
	struct heap - Defines a heap:
		Holds a table with all entries in the specific heap and
		the initial heap memory address

	struct heap_table - Describes the usage state of every PAGE
			    within the specific heap.

Signed-off-by: Carlos Maiolino &lt;cem@toxiclabs.cc&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a simple API implementing a heap memory area.

This specifies 2 main data structures:
	struct heap - Defines a heap:
		Holds a table with all entries in the specific heap and
		the initial heap memory address

	struct heap_table - Describes the usage state of every PAGE
			    within the specific heap.

Signed-off-by: Carlos Maiolino &lt;cem@toxiclabs.cc&gt;
</pre>
</div>
</content>
</entry>
</feed>
