Recent Posts

FS and GS in x86-64: What Remains of Segmentation

This post started with a small question I ran into while working on a personal project that deals with x86-64 assembly: is a push fs followed by a pop fs really harmless? It isn’t, and finding out why took me back to a corner of x86-64 that I had been reading in disassembly for years […]


An AArch64 OS in Rust – Implementing Virtual Memory IV

In the previous post, we mapped the kernel image into the higher half of the virtual address space, giving each section its own permissions while keeping the existing identity mapping in place. However, this only provides a mapping for the kernel image itself. As the kernel’s memory management becomes more sophisticated, we need a convenient […]


An AArch64 OS in Rust – Implementing Virtual Memory III

In the previous post, we built the physical frame allocator required to construct page tables dynamically. Until now, the kernel has relied on an identity mapping, with virtual addresses equal to physical addresses, which was enough to enable the MMU and continue execution with address translation enabled. The next step is to map the kernel […]


An AArch64 OS in Rust – Implementing Virtual Memory II

In the previous post, we laid the hardware foundation for our virtual memory subsystem: configuring the MMU, setting up MAIR attributes, and establishing an identity mapping to ensure our kernel survived the transition to address translation. While we successfully enabled translation without crashing, our current translation tables are backed by statically reserved storage. To build […]


My experience with AI

It has been several months since I started integrating Artificial Intelligence (AI) extensively into my daily workflow. What began as a tool for isolated queries has evolved into a core component of my personal projects and professional tasks. During this time, I have witnessed the staggering pace of the AI ecosystem, but one specific moment […]