Design and Implementation of an OS for Use in the Operating Systems Lecture Track

Gmür, Matteo and Imhof, Fabian (2024) Design and Implementation of an OS for Use in the Operating Systems Lecture Track. Other thesis, OST Ostschweizer Fachhochschule.

[thumbnail of HS 2024 2025-SA-EP-Imhof-Gmür-TeachOS  Design and Implementation of an OS for Use in the O.pdf] Text
HS 2024 2025-SA-EP-Imhof-Gmür-TeachOS Design and Implementation of an OS for Use in the O.pdf - Supplemental Material

Download (365kB)

Abstract

This paper examines all aspects of
memory management in a custom operating system.
The goal is to create a foundation for an interactive
learning tool to be used in the "Operating Systems 1"
and "Operating Systems 2" lectures at OST. Topics
covered include parsing Multiboot2 information,
implementing frame allocation and page tables, and
using these components to remap the kernel. Based
on this, dynamic memory allocation during kernel
runtime was implemented using different allocation
strategies.

The objective of this work is to develop a
modular and extensible memory management system
encompassing physical and virtual memory
management as well as heap management. This
provides a robust foundation for extending other
kernel components while serving as a learning
platform for hands-on exploration of operating system
concepts.

The developed operating system includes:
- Physical memory allocator: Manages the allocation
and deallocation of physical memory, including a
simplistic version without deallocation functionality.
- Virtual memory management: Implements multilevel
page tables to separate logical and physical address
spaces.
- Heap memory allocator: Enables dynamic memory allocation
within the kernel heap. This foundation can be extended
in the future to include additional kernel functionalities
and to expand the feature set of the existing memory
management system.

Item Type: Thesis (Other)
Subjects: Technologies > Programming Languages > C++
Technologies > Operating Systems
Divisions: Bachelor of Science FHO in Informatik > Student Research Project
Depositing User: OST Deposit User
Contributors:
Contribution
Name
Email
Thesis advisor
Morgner, Felix
UNSPECIFIED
Date Deposited: 18 Feb 2025 12:28
Last Modified: 18 Feb 2025 12:28
URI: https://eprints.ost.ch/id/eprint/1246

Actions (login required)

View Item
View Item