Git Product home page Git Product logo

kernel's Introduction

Welcome to the starting point of your kernel!

This is where you get to fulfill your wildest dreams ...
or maybe get them crushed :(

Disclaimer: The following kernel is provided to you from the
following source:

http://www.jamesmolloy.co.uk/tutorial_html/

Specifically, it is the section #6 paging kernel with some
minor modifications for our FCS lab environment.

I highly encourage you to go through tutorial sections 1-6
as they discuss the kernel and will teach you a LOT about the
code base you are starting from. You can also look at the
tutorials 7 - 10, however be aware that how he developed his
kernel will be different than how we develop ours. For example,
we will not be doing a virtual filesystem (VFS).

To compile the kernel source you will need to change into the
"src" directory and run "make".

To run your kernel you will have to run the following
custom FCS script that is on the linux machines:

	fcs-qemu-run-kernel -kernel src/kernel -bootdisk floppy.img

The script takes two arguments:
	-kernel <filename>
		This specifies the kernel that you have compiled.
	-bootdisk <filename>
		This specifies the initial bootdisk you need to launch your OS.
		Think of it as your initial harddrive in the computer. This
		file is likely to not change in the course.

With the proper arguments the script will create a new ramdisk that contains
your kernel and then launch qemu (i386 emulator) with the ramdisk. This is
*very* similar to how you would start natively on an i386 machine. Once the
emulator starts it will launch a new terminal window where you can see the
output from your kernel. As always, your execution will start with the main
method :)

Good luck!!!

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.