Assignment 2: Scheduling Policy Demonstration Program
10/30/2023contributed by < Cycatz > 開發環境 $ gcc --version gcc (GCC) 12.2.1 20230201 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ lscpu
3/7/2023[TOC] Have you ever used the neofetch tool? neofetch is a command-line utility that displays system information such as the OS distribution and CPU model. In this assignment, you are going to implement a kernel module that fetches the system information from the kernel. Linux Kernel Module A kernel module is a piece of code that can be loaded and unloaded into the kernel dynamically at runtime. This allows the kernel to be extended without the need to recompile the entire kernel. You can run lsmod to list all loaded modules on the system:
12/12/2022Assignment 1: Compiling Linux Kernel and Adding Custom System Calls Compiling Linux Kernel Example Screenshot Adding custom system calls sys_hello sys_revstr
11/11/2022or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up