Giter Site home page Giter Site logo

popcorn's People

Contributors

0ctobyte avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

popcorn's Issues

Use spinlocks in data structures

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.

Use CMake for build system

The Makefile is simple and works for now, but maybe a more flexible build system (CMake) should be used?

Implement pmap_enter

Needed by _vmm_kernel_init (#7) to enter mappings for the kernel virtual memory region.

Lock pmap before modifications

Kernel can be interrupted when modifying pmaps thus leaving them in an undetermined state. Use a lock to prevent this.

Add pmm_reserve_page function

Use to mark certain pages as used. This needs to be used to mark kernel pages (and devices addresses) as used on kernel startup.

File 'disk1.img' is missing

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.