Comments (2)
I was completely wrong, now i understand(i think), you're putting the kernel in the upper memory. But your code is not right still: You don't have that amount of bytes avalaible. I suggest this change:
init_malloc(0, multiboot->mem_upper * 1024 - (pre_placementaddr - (intptr_t)&_kernel_start));
Please excuse me if i'm making any mistakes.
from cedille.
The kernel is placed by grub into the first megabyte, however yes the malloc statement is borked - this is a temporary kernel heap. This current irritation of Cedille is proof of concept and no longer updated; it was to get the concepts working while not doing anything with them. However, the rw branch contains a rewrite of the kernel source in its early stages. Please, review the old code, but check out the new code as well. Nothing relating to mm is in yet, but its still rather clean (thanks for that!). I will, however, take your ideas into account. Thanks very much.
from cedille.
Related Issues (2)
- Architecture HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cedille.