当前位置: 首页 > 软件库 > 应用工具 > 文件管理器 >

winix

授权协议 GPL-3.0 License
开发语言 C/C++
所属分类 应用工具、 文件管理器
软件类型 开源软件
地区 不详
投 递 者 陆耀
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

WINIX OS

C/C++ CI

Winix is a minimal, hobbyist, educational and UNIX-style Operating System for the Waikato RISC Architecture Microprocessor (WRAMP). It is a hybrid kernel with usability and performance in mind. Winix is mainly inspired by Minix1, which is the OS I learnt when I was in university.

Winix includes full-featured kernel with process and memory management, in-memory file system, exception control and user space bourne shell with interactive command line. Yes, you can even play snake on it by typing snake in the command line

Demo

Playing Snake

Using Pipe in bash

Features

  • Kernel Memory Management: virtual memory, page mapping
  • Process Management: Kernel thread, process creation
  • Exception control and interrupt handler
  • In-memory file system that supports most of the POSIX api
  • A Bourne shell supporting multiple pipes and redirection
  • User memory management: malloc() free()
  • User coroutine with ucontext.h support
  • Stacktrace dump, segfault analysis

Supported Commands

How to Run

Download the latest Rexsimulator from Here

N.B. mono is required to run in Linux environment, Download Instruction

Download the latest WINIX binary winix.srec from Here

Run Rexsimulator.exe

Click Quick Load, select winix.srec

Loading Winix

How to Compile

Prerequisite

Linux / WSL

sudo apt-get install xutils-dev gcc

Clone and Compile

git clone https://github.com/halfer53/winix.git

cd winix

export PATH=`pwd`/tools/bin:$PATH

make

Debug tips

Debug Makefile

Similar to linux kbuild, Winix supports verbose option, you can debug Makefile by setting verbose to 1

make V=1

Debug Kernel

kprintf() is your friend.

trace: " type trace in bash to print all the syscalls in serial port 2

Supported System Call

Credits

Paul Monigatti

  • 一外国人竟然只用五年的业余时间就开发了一个类似鸿蒙的操作系统: Winix是用于Waikato RISC 架构微处理器 (WRAMP) 的 UNIX 风格操作系统,是一个业余爱好、教育学习和 UNIX 风格的操作系统。它是一个兼顾可用性和性能的混合内核。点击标题见Githube项目 Winix主要是受Minix1的启发,作者大学时学的操作系统。这是一个业余爱好项目,作者可能会每隔一周花 1-4 小

相关阅读

相关文章

相关问答

相关文档