making mint64os chan seok kang 2013/01/21. 2computer systems and platforms lab content introduction...

20
Making MINT64OS Chan Seok Kang 2013/01/21

Upload: ethel-ward

Post on 01-Jan-2016

221 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

Making MINT64OS

Chan Seok Kang2013/01/21

Page 2: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

2Computer Systems and Platforms Lab

Content

Introduction

My Approach

Encountered Problem

Conclusion & Future Work

Reference

Page 3: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

3Computer Systems and Platforms Lab

Introduction

Page 4: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

4Computer Systems and Platforms Lab

Introduction

MINTOS (Multicore INTeligent OS)

Operating System based on GUI Supported Multi-core / 64bit Final Purpose : To understand the process of OS & Architecture.

Page 5: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

5Computer Systems and Platforms Lab

Introduction

Bochs

IBM PC Competible Emulator & Debugger (x86 , x86_64) Supports Emulation of Processors , memory, disk etc.. Free software with GNU LPGL Simple & Easy to use

Page 6: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

6Computer Systems and Platforms Lab

My Approach

Page 7: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

7Computer Systems and Platforms Lab

My Approach

Environment Gentoo Linux & xfce4 Bochs 2.6 Eclipse IDE C/C++ Virtual machine Environment :

Floppy-disk Booting

CPU : Intel Penryn t9600

RAM : 256MB

Page 8: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

8Computer Systems and Platforms Lab

My Approach

Operating Mode

Protect Mode

Real Mode IA-32e ModeResetPower

On

Page 9: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

9Computer Systems and Platforms Lab

My Approach

OS Booting Process

Power On POST(Power On Self Test)

Initialize

Examine

BootLoader

Copy the Image

Switch to Protected mode

Copy the ImageInto the memory

BIOS can handle this.

Page 10: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

10Computer Systems and Platforms Lab

My Approach

OS Booting Process

32bit Kernel

Initialize

Examine

64bit Kernel

My Progress

Page 11: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

11Computer Systems and Platforms Lab

My Approach

Result

Loading Virtual OS Image (Empty)

Page 12: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

12Computer Systems and Platforms Lab

My Approach

Result

Switch to Protected Mode

Page 13: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

13Computer Systems and Platforms Lab

My Approach

Result

C language Kernel Upload

Page 14: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

14Computer Systems and Platforms Lab

My Approach

Result

Change the configure : /root/.bochsrc

Page 15: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

15Computer Systems and Platforms Lab

My Approach

Result

Check the memory Size

Page 16: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

16Computer Systems and Platforms Lab

My Approach

Result

Make a page Table

Page 17: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

17Computer Systems and Platforms Lab

My Approach

Result

Read CPUID (GenuineIntel / AuthenicAMD) Swtich to IA-32e Mode

Page 18: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

18Computer Systems and Platforms Lab

Future work

Page 19: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

19Computer Systems and Platforms Lab

Future work on this week

Enable Keyboard Input Adding Keyboard device driverÞ Making Console Shell

Control Interrupt ( PIC )

Adding Time Device Driver ( RTC )

Page 20: Making MINT64OS Chan Seok Kang 2013/01/21. 2Computer Systems and Platforms Lab Content Introduction My Approach Encountered Problem Conclusion & Future

20Computer Systems and Platforms Lab

Reference