1

Darwin
OS
Prepared By: Patel Nidhi B
131060753016
2

AGENDA
o
o
o
o

OS X Architecture
Introduction to Darwin
I/O Kit
Networking
3

OS X Architecture - overview
o Layered architecture
o Features include
 Improved reliability & performance
 Enhance networking
 Object based system programming interface
 Support for industry standards
4

Cont…
o OS manly depend on the Core OS – Kernel OS (Darwin)
o Kernel enhancements for MAC OS X
o Preemption Multitasking – let scheduling process to share time –
supports real time behavior
o Memory Protection
o Improved Networking Facilities
o Support for Macintosh & non-Macintosh File System
o Object- Oriented API
5

Introduction- DARWIN
o Its Unix-derived OS core that provides the underlying
foundation for Mac OS X
o Forms core set of components for OS x & iOS
o Open Source Technology
o Same system s/w forms the core – free environment for
Developers
6

o Darwin mainly based on
o BSD
o Mach
o Apple Technologies

o Includes the facilities for
o
o
o
o

Creating device drivers
Improved reliability and performance
Virtual File System design
Premier networking facility
7

Kernel(Darwin) Architecture
o Mainly Include environments
o
o
o
o

Mach kernel
BSD
I/O Kit
File System
8

Cont..
o Mach
o Manages - Processor Resources (CPU Usage + Memory) Handles Scheduling - Provides Memory Protection - Messaging
Center for entire OS
o Mach Component Provides
 Remote Procedure Calls
 Scheduler support for symmetric multiprocessing (SMP)
 Real time services support
 Virtual memory support
9

Cont…
o BSD
o Provides “OS personality” services
o Based on BSD Kernel – FreeBSD

o BSD Component Provides





File System
Networking
Free BSD Kernel API
Kernel Support for Threads

 Support for syscall
10

Cont…
o Networking
o Enhance the BSD network capability for modern features
o Network Address Translation (NAT) & Firewalls

o Networking Component provides





Support for both IP
MultiHoming
Routing – multicast support
Packet Fltering
11

Cont…
o File System
o Support of many file system like ( HFS, UFS, NFS etc.)
o Default File System (HFS+)

o File System Provides
 Enhanced Virtual File System (VFS) – let the file system stackable
 Increased Performance on previous versions
12

Cont…
o I/O kit
o Framework for Driver development – many Devices
o Modular and Extensible
o Object oriented i/o architecture – restricted subset of C++
o I/O kit component provides





True plug and play
Dynamic device management
On-demand loading of drivers
Multiprocessor capabilities
13

Kernel Extension
o Gives ability to dynamically load the pieces of Code to
Kernel – KEXTs
o No need to recompile the Kernel – Monolithic
14

Thank you…

Darwin OS

  • 1.
    1 Darwin OS Prepared By: PatelNidhi B 131060753016
  • 2.
  • 3.
    3 OS X Architecture- overview o Layered architecture o Features include  Improved reliability & performance  Enhance networking  Object based system programming interface  Support for industry standards
  • 4.
    4 Cont… o OS manlydepend on the Core OS – Kernel OS (Darwin) o Kernel enhancements for MAC OS X o Preemption Multitasking – let scheduling process to share time – supports real time behavior o Memory Protection o Improved Networking Facilities o Support for Macintosh & non-Macintosh File System o Object- Oriented API
  • 5.
    5 Introduction- DARWIN o ItsUnix-derived OS core that provides the underlying foundation for Mac OS X o Forms core set of components for OS x & iOS o Open Source Technology o Same system s/w forms the core – free environment for Developers
  • 6.
    6 o Darwin mainlybased on o BSD o Mach o Apple Technologies o Includes the facilities for o o o o Creating device drivers Improved reliability and performance Virtual File System design Premier networking facility
  • 7.
    7 Kernel(Darwin) Architecture o MainlyInclude environments o o o o Mach kernel BSD I/O Kit File System
  • 8.
    8 Cont.. o Mach o Manages- Processor Resources (CPU Usage + Memory) Handles Scheduling - Provides Memory Protection - Messaging Center for entire OS o Mach Component Provides  Remote Procedure Calls  Scheduler support for symmetric multiprocessing (SMP)  Real time services support  Virtual memory support
  • 9.
    9 Cont… o BSD o Provides“OS personality” services o Based on BSD Kernel – FreeBSD o BSD Component Provides     File System Networking Free BSD Kernel API Kernel Support for Threads  Support for syscall
  • 10.
    10 Cont… o Networking o Enhancethe BSD network capability for modern features o Network Address Translation (NAT) & Firewalls o Networking Component provides     Support for both IP MultiHoming Routing – multicast support Packet Fltering
  • 11.
    11 Cont… o File System oSupport of many file system like ( HFS, UFS, NFS etc.) o Default File System (HFS+) o File System Provides  Enhanced Virtual File System (VFS) – let the file system stackable  Increased Performance on previous versions
  • 12.
    12 Cont… o I/O kit oFramework for Driver development – many Devices o Modular and Extensible o Object oriented i/o architecture – restricted subset of C++ o I/O kit component provides     True plug and play Dynamic device management On-demand loading of drivers Multiprocessor capabilities
  • 13.
    13 Kernel Extension o Givesability to dynamically load the pieces of Code to Kernel – KEXTs o No need to recompile the Kernel – Monolithic
  • 14.