Implementation of UART interrupts
Implementing UART TX interrupts with buffer management, LSR register handling, and debugging ebreak interrupt issues.
Read moreMarkdown to HTML
A tiny, fast Markdown blog for GitHub Pages.
Posts grouped in this category.
Implementing UART TX interrupts with buffer management, LSR register handling, and debugging ebreak interrupt issues.
Read more本文主要讲述我在实现SBI调用链实现CLINT中断定时时遇到的问题,以及如何解决。
Read moreImplementing CLINT timer interrupts with RISC-V privilege mode handling, mscratch usage, and interrupt delegation challenges.
Read moreClarifying IP vs IE interrupt concepts in RISC-V, hardware configuration issues, and trap entry point implementation lessons.
Read moreAddressing chicken-and-egg problems in high-address mapping, PTE allocation misconceptions, and implementing ekalloc for boot-time memory management.
Read moreChallenges in implementing high-half kernel mapping, modifying kalloc for pre/post-paging allocation strategies.
Read moreUnderstanding VA2PA translation in sv39 three-level page tables and building minimal MVP with xv6 reference.
Read moreExploring RISC-V privilege architecture for Sv39 paging, PMP configuration, and trap delegation from M-mode to S-mode.
Read moreBrief note on implementing cyclic lists with sentinel nodes for memory allocator modification.
Read moreDevelopment log covering directory structure setup, printf encapsulation challenges, and LD linker issues in kernel development.
Read moreDetailed analysis of UART 16650 registers in xv6's uart.c implementation, covering IER, FCR, LCR configurations and their manual specifications.
Read more实现UNIX find命令:递归遍历目录树查找指定文件,解析文件系统结构、目录项和inode操作。
Read more实现进程间通信的ping-pong程序:使用管道和fork创建父子进程,通过双向管道传递消息。
Read more实现质数筛选器:使用管道和递归进程创建筛选管道,每个进程过滤当前质数的倍数。
Read more实现sleep命令:解析命令行参数,调用系统调用暂停进程指定时间,深入分析系统调用机制。
Read more实现xargs命令:从标准输入读取参数,为每行参数创建子进程执行命令,深入理解进程创建和参数传递。
Read moreBasic non-blocking TCP server/client implementation for Redis-like system with socket programming and Windows/Linux compatibility.
Read moreImplementing key-value storage with GET/SET/DEL commands, request parsing, and response handling for Redis-like server.
Read moreCustom hash table implementation with incremental rehashing, FNV hash algorithm, and intrusive data structures for Redis-like storage.
Read moreImplementing TLV (Type-Length-Value) protocol format with multiple data types (nil, error, string, int, double, array) for Redis-like communication.
Read moreDetailed implementation of AVL tree with rotation operations, balancing algorithms, and deletion strategies for ordered data structures.
Read moreImplementing Redis-like sorted set commands (zadd, zrem, zscore, zquery) with AVL tree and hash map integration.
Read moreImplementing Redis-like list commands (lpush, lpop, rpush, rpop) with doubly linked list and hash map integration.
Read moreImplementing Redis-like hash commands (hget, hset, hdel) with hash map integration and data structure extensions.
Read moreImplementing Redis-like hash commands (hget, hset, hdel) with hash map integration and data structure extensions.
Read more