0ctobyte / popcorn Goto Github PK
View Code? Open in Web Editor NEWA 64-bit kernel for ARMv8-A CPU's.
License: MIT License
A 64-bit kernel for ARMv8-A CPU's.
License: MIT License
Specifically in pmm.c, instead of using INTERRUPT_LOCK, use a spinlock in the pagestack data structure
Spinlocks should be used in the data structures in pmap.c, vmm.c, vsprintf.c, etc.
The Makefile is simple and works for now, but maybe a more flexible build system (CMake) should be used?
There is some code in _loader.s that is specific to the Beaglebone Black. This needs to be somewhere in the platform directory
ARM 1st level page table (i.e. page directory) is 16 KiB in size and is required to be 16 KiB aligned. Currently, contiguous physical pages can be allocated using pmm_alloc_contiguous but there is no way to align such an allocation to an address boundary.
Needed by _vmm_kernel_init (#7) to enter mappings for the kernel virtual memory region.
Kernel can be interrupted when modifying pmaps thus leaving them in an undetermined state. Use a lock to prevent this.
Implement a kernel heap memory manager based on the buddy allocation algorithm. Need to complete #7 first.
The kernel heap will use the kernel_vmap structure to find the location of the start of the kernel heap
pmap_destroy should deallocate a pmap's resources when the refcount becomes zero. This functionality depends on the slab allocator (and thus the kernel heap) being implemented. Marked as incomplete for now.
Use to mark certain pages as used. This needs to be used to mark kernel pages (and devices addresses) as used on kernel startup.
kernel.img
can be built successfully from source, but there seems to be no file disk1.img
found when I attempt to execute tools/sim.sh
. Here are the error messages:
qemu-system-arm: -hda disk1.img: could not open disk image disk1.img: Could not open 'disk1.img': No such file or directory
The register offset value is added to a pointer type, this will result in an incorrect register access
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.