KernelNewbies
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Kernel Hacking

  • Frontpage

  • Kernel Hacking

  • Kernel Documentation

  • Kernel Glossary

  • FAQ

  • Found a bug?

  • Kernel Changelog

  • Upstream Merge Guide

Projects

  • KernelJanitors

  • KernelMentors

  • KernelProjects

Community

  • Why a community?

  • Regional Kernelnewbies

  • Personal Pages

  • Upcoming Events

References

  • Mailing Lists

  • Related Sites

  • Programming Links

Wiki

  • Recent Changes

  • Site Editors

  • Side Bar

  • Tips for Editors

  • Hosted by WikiWall

Navigation

  • RecentChanges
  • FindPage
  • HelpContents

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

KernelNewbies:
  • WeichongTan

Tan (surname), WeiChong (given name)

Email: <weichong78@yahoo.com>

Hello, I am a newbie who is trying to understand how an OS kernel works from ground up.

Currently, my approach is to study boot loaders (primarily GRUB) andkernels (primarily Linux) on x86 architecture part by part and attemptto understand how they work by implementing my own toy kernel (mostlybroken bits and pieces).

Up till now, I have learnt about how to utilize bochs and qemu to facilitate my testing and successfully implemented:

  1. A hello world toy boot sector in 16bit that has a 0xAA55 signature and print a text message on the screen when loaded by BIOS.
  2. A 32 bit protected mode hello world toy kernel that print a text message on the screen. So far it doesn't really do much since it uses GRUB multiboot signature and let GRUB load it into a state of 32 bit with segmentation but without paging. So the kernel doesn't even have to switch on the real mode to protected mode bit (CR0 PE bit - bit 0) itself. The aim is to setup page directory.


  • CategoryHomepage

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01