https://github.com/maxklvd/mini-kernel
Kernel/User mode demonstation in the EFI application for x86_64
https://github.com/maxklvd/mini-kernel
c gnu-efi kernel uefi x86-64
Last synced: about 1 year ago
JSON representation
Kernel/User mode demonstation in the EFI application for x86_64
- Host: GitHub
- URL: https://github.com/maxklvd/mini-kernel
- Owner: maxklvd
- License: gpl-2.0
- Created: 2023-09-25T14:45:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-26T04:46:58.000Z (over 2 years ago)
- Last Synced: 2024-10-24T00:22:42.053Z (over 1 year ago)
- Topics: c, gnu-efi, kernel, uefi, x86-64
- Language: C
- Homepage:
- Size: 1.01 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
* [Visual Studio 2022](https://developer.microsoft.com/en-us/windows/downloads)
* [QEMU](http://www.qemu.org)
* A git client to initialize and update submodules
## 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

## License
[GPLv2](https://choosealicense.com/licenses/gpl-2.0/)