Skip to content

jpark011/BabyOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OS161 Implementation

Implemented:

  • Traffic light
    • 4-cross-section traffic light is simulated using 1 lock and 4 CVs.
    • Synchronization!
  • System calls
    • Process related: fork, exit, kill, getpid, execv
  • Memory manager
    • TLB miss is handled randomly by the kernel (kick a random TLB entry)
    • There are 3 segments: coding, heap(data), and stack
    • Paging of size 4KB is used currently.

TODO

  • Page table
    • For now, memories are allocated only in contiguous block, which results in external fragmentation.
    • Need to changed vm, dumbvm...
  • File system
    • read, writre, seek...(yeah..)
  • CPU Scheduler
    • Not sure if I have control over this

About

Partial implementation of OS161

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published