Check out my personal homepage at https://josehu.com ๐
josehu07 / hux-kernel Goto Github PK
View Code? Open in Web Editor NEWThe Hux x86 32-bit Toy Operating System Kernel (with full wiki pages)
License: MIT License
The Hux x86 32-bit Toy Operating System Kernel (with full wiki pages)
License: MIT License
Check out my personal homepage at https://josehu.com ๐
Hi there it's me again ๐
In https://github.com/josehu07/hux-kernel/wiki/10.-Two-Level-Paging-Setup#frame-allocation-bitmap it feels like instead of
We create an array of
uint32_t
's, where each integer element is essentially an array of 32 bits.
you meant
We create an array of
uint8_t
's, where each integer element is essentially an array of 8 bits.
as this is how struct bitmap
is defined.
By the way, is it ok to provide suggestions here? Can I ping you on IRC by any chance?
Hi there, thank you so much as I'm learning a lot from your project! I am currently tackling paging.
I have a question about this line
hux-kernel/src/memory/paging.c
Line 52 in 7fea5c5
Something I'm not sure to understand is: while kheap_curr
is initialized to a page-aligned memory address right after the kernel, which itself is loaded to 1MiB, we compare kheap_curr
to something that looks like a quantity:
#define KMEM_MAX 0x00800000 /** 8MiB reserved for the kernel. */
In practice, KMEM_MAX
is used as an address, and the comment should read something like: /* Max address reserved for the kernel */
.
What am I missing?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.