Skip to content

Kernel/User mode demonstation in the EFI application for x86_64

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE
Unknown
LICENSE.gnu-efi
Notifications You must be signed in to change notification settings

maxklvd/mini-kernel

Repository files navigation

Mini-Kernel

This is a simple demonstration of entering user mode and going back to the kernel on an x86_64 architecture.

Contains the following cases:

  • Entering user mode
  • Execution of a privileged instruction (General-Protection exception)
  • Accessing a supervised page (Page-Fault exception)
  • Writing to a read-only page (Page-Fault exception)

Prerequisites

Building

Initialize the git submodule:

git submodule update --init

Open mini-kernel.sln in Visual Studio.

Press F5 to compile and run the application in the QEMU emulator.

Screenshot

Screenshot

License

GPLv2

About

Kernel/User mode demonstation in the EFI application for x86_64

Topics

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE
Unknown
LICENSE.gnu-efi

Stars

Watchers

Forks