basekernel
所属分类:C#编程
开发工具:C
文件大小:0KB
下载次数:0
上传日期:2023-05-11 14:56:34
上 传 者:
sh-1993
说明: 一个用于研究、教学和娱乐的简单操作系统内核。
(A simple OS kernel for research, teaching, and fun.)
文件列表:
LICENSE (18047, 2023-12-18)
Makefile (1418, 2023-12-18)
Makefile.config (570, 2023-12-18)
basekernel.indent (243, 2023-12-18)
build-cross-compiler.sh (1283, 2023-12-18)
doc/ (0, 2023-12-18)
doc/ata-3-std.pdf (797330, 2023-12-18)
doc/phoenix-bios.pdf (232843, 2023-12-18)
doc/super-io.pdf (885942, 2023-12-18)
doc/vesa-bios.pdf (272410, 2023-12-18)
include/ (0, 2023-12-18)
include/kernel/ (0, 2023-12-18)
include/kernel/ascii.h (3494, 2023-12-18)
include/kernel/error.h (742, 2023-12-18)
include/kernel/events.h (471, 2023-12-18)
include/kernel/gfxstream.h (382, 2023-12-18)
include/kernel/stats.h (512, 2023-12-18)
include/kernel/syscall.h (1331, 2023-12-18)
include/kernel/types.h (1283, 2023-12-18)
include/library/ (0, 2023-12-18)
include/library/errno.h (116, 2023-12-18)
include/library/kernel_object_string.h (128, 2023-12-18)
include/library/malloc.h (24171, 2023-12-18)
include/library/nwindow.h (1275, 2023-12-18)
include/library/stdio.h (686, 2023-12-18)
include/library/stdlib.h (82, 2023-12-18)
include/library/string.h (887, 2023-12-18)
include/library/syscalls.h (2465, 2023-12-18)
kernel/ (0, 2023-12-18)
kernel/Makefile (930, 2023-12-18)
kernel/ata.c (13115, 2023-12-18)
kernel/ata.h (753, 2023-12-18)
kernel/bcache.c (3993, 2023-12-18)
kernel/bcache.h (727, 2023-12-18)
kernel/bitmap.c (824, 2023-12-18)
... ...
# The Basekernel Operating System Kernel
Basekernel is a simple operating system kernel for research, teaching, and fun.
Basekernel is *not* a complete operating system, but it is a starting
point for those who wish to study and develop new operating system code.
If you want to build something *different* than Windows, Linux, or Multics,
Basekernel may be a good place to try out your new ideas.
Basekernel can boot an Intel PC-compatible virtual machine in 32-bit protected
mode, with support for VESA framebuffer graphics, ATA hard disks, ATAPI optical
devices, process management, memory protection, simple graphics, and basic filesystem.
From there, it's your job to write user-level programs and expand the system.
To be clear, this is raw low-level code, not a production system.
If you want to hack code and learn about operating system, you will like Basekernel.
If you are looking for a new OS to run on your laptop, then this is not what you want.
This project is led by Prof. Douglas Thain at the University of Notre Dame.
A variety of students have contributed to the code, including
Jack Mazanec, Douglas Smith, Ethan Williams, Jon Westhoff, and Kevin Wern.
To learn more, see the [Basekernel Wiki](https://github.com/dthain/basekernel/wiki).
## Quick Start Instructions
If you are building on a Linux-X86 machine
and have the QEMU virtual machine installed:
```
git clone https://github.com/dthain/basekernel
cd basekernel
make
qemu-system-i386 -cdrom basekernel.iso
```
And you should see something like this:
After some initial boot messages, you will see the kernel shell prompt.
This allows you to take some simple actions before running the first
user level program. To automatically boot the first available filesystem,
whether on cdrom or harddisk, run
automount:
automount
Then use the
list command to examine the root directory:
list /
And use the
run command to run a program.
For example,
/bin/manager.exe runs a simple
four-pane window manager with several tasks in parallel.
(Use TAB to switch focus between programs, and tilde
to cancel out of the window manager.)
run /bin/manager.exe
Press TAB to change the focus between windows,
and you can interact with each process in turn.
## Cross-Compiling Instructions
If you are building on any other type of machine,
you will probably need to build a cross-compiler
using `build-cross-compiler.sh` and then edit
`Makefile.config` to use the cross compiler binaries,
then execute `make` to create `basekernel.iso`
近期下载者:
相关文件:
收藏者: