<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lume/include/kernel/riscv.h, branch master</title>
<subtitle>A general-purpose operating system with Linux ABI compatibility
</subtitle>
<id>https://git.richardqin.org/lume/atom?h=master</id>
<link rel='self' href='https://git.richardqin.org/lume/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.richardqin.org/lume/'/>
<updated>2026-07-10T03:31:46Z</updated>
<entry>
<title>refactor: promote new architecture to repository root</title>
<updated>2026-07-10T03:31:46Z</updated>
<author>
<name>Richard Qin</name>
<email>richard.qin.x@gmail.com</email>
</author>
<published>2026-07-10T03:31:46Z</published>
<link rel='alternate' type='text/html' href='https://git.richardqin.org/lume/commit/?id=e90b72ec3082588b296956730bd2930cf8d5d671'/>
<id>urn:sha1:e90b72ec3082588b296956730bd2930cf8d5d671</id>
<content type='text'>
Archive the deprecated implementation under lume-legacy, make the new kernel the default root-level build, and update repository entry points without changing kernel behavior.
</content>
</entry>
<entry>
<title>Fix: critical malloc size calculation bug</title>
<updated>2026-01-02T18:13:08Z</updated>
<author>
<name>Richard Qin</name>
<email>richard.qin.x@gmail.com</email>
</author>
<published>2026-01-02T18:13:08Z</published>
<link rel='alternate' type='text/html' href='https://git.richardqin.org/lume/commit/?id=10614e04929a6d109a5e90524e446b637aaf0c13'/>
<id>urn:sha1:10614e04929a6d109a5e90524e446b637aaf0c13</id>
<content type='text'>
Summary:
- Fixed an integer arithmetic error in malloc() where 'nunits' was initialized to 0, causing incorrect heap sizing.
- This bug caused malloc to return pointers pointing to unmapped memory pages, leading to Store Page Fault (scause 15) at process boundaries.
- Switched memory allocator logic to use byte-based size calculation instead of K&amp;R style units to prevent off-by-one errors.

Improvements:
- Shell now starts successfully without segfaults.
</content>
</entry>
<entry>
<title>dev:Refactor Memory Management and Process Management</title>
<updated>2025-12-31T10:00:55Z</updated>
<author>
<name>Richard Qin</name>
<email>richard.qin.x@gmail.com</email>
</author>
<published>2025-12-31T10:00:55Z</published>
<link rel='alternate' type='text/html' href='https://git.richardqin.org/lume/commit/?id=dbba25aa24f86c1f8c3a0589c82985840adc1b6b'/>
<id>urn:sha1:dbba25aa24f86c1f8c3a0589c82985840adc1b6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: Implement the first user program of the lume OS</title>
<updated>2025-12-27T13:56:42Z</updated>
<author>
<name>Richard Qin</name>
<email>richard.qin.x@gmail.com</email>
</author>
<published>2025-12-27T13:56:42Z</published>
<link rel='alternate' type='text/html' href='https://git.richardqin.org/lume/commit/?id=7ececbe2818510a8acaa2a2e513085c768b14d15'/>
<id>urn:sha1:7ececbe2818510a8acaa2a2e513085c768b14d15</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: Encapsulates the low-level hardware details of the RISC-V architecture, providing interfaces for the rest of the kernel to operate CPU registers and manage memory</title>
<updated>2025-12-24T18:21:25Z</updated>
<author>
<name>Richard Qin</name>
<email>richard.qin.x@gmail.com</email>
</author>
<published>2025-12-24T18:21:25Z</published>
<link rel='alternate' type='text/html' href='https://git.richardqin.org/lume/commit/?id=be71d44b9dfcf65fba3394fbd3dc2b3e06962897'/>
<id>urn:sha1:be71d44b9dfcf65fba3394fbd3dc2b3e06962897</id>
<content type='text'>
Copied from the xv-6 source code.
</content>
</entry>
</feed>
