Mac OS X and iOS Internals: To the Apple's Core

  • 14h 7m
  • Jonathan Levin
  • John Wiley & Sons (US)
  • 2013

An in-depth look into Mac OS X and iOS kernels

Powering Macs, iPhones, iPads and more, OS X and iOS are becoming ubiquitous. When it comes to documentation, however, much of them are shrouded in mystery. Cocoa and Carbon, the application frameworks, are neatly described, but system programmers find the rest lacking. This indispensable guide illuminates the darkest corners of those systems, starting with an architectural overview, then drilling all the way to the core.

  • Provides you with a top down view of OS X and iOS
  • Walks you through the phases of system startup—both Mac (EFi) and mobile (iBoot)
  • Explains how processes, threads, virtual memory, and filesystems are maintained
  • Covers the security architecture
  • Reviews the internal Apis used by the system—BSD and Mach
  • Dissects the kernel, XNU, into its sub components: Mach, the BSD Layer, and I/o kit, and explains each in detail
  • Explains the inner workings of device drivers

From architecture to implementation, this book is essential reading if you want to get serious about the internal workings of Mac OS X and iOS.

About the Author

Jonathan Levin is a longtime trainer and consultant focusing on the system and kernel levels of the 'Big Three'—Windows, Linux, and OS X, as well as their mobile derivatives. He is the founder and CTO of Technologeeks.com, a partnership of experts delivering advanced training on systems/kernel programming, debugging, and profiling.

In this Book

  • Darwinism: The Evolution of OS X
  • E Pluribus Unum: Architecture of OS X and iOS
  • On the Shoulders of Giants: OS X and iOS Technologies
  • Parts of the Process: Mach-O, Process, and Thread Internals
  • Non Sequitur: Process Tracing and Debugging
  • Alone in the Dark: The Boot Process: EFI and iBoot
  • The Alpha and the Omega — Launchd
  • Some Assembly Required: Kernel Architectures
  • From the Cradle to the Grave — Kernel Boot and Panics
  • The Medium is the Message: Mach Primitives
  • Tempus Fugit — Mach Scheduling
  • Commit to Memory: Mach Virtual Memory
  • BS"D — The BSD Layer
  • Something Old, Something New: Advanced BSD Aspects
  • Fee, FI-FO, File: File Systems and the VFS
  • To B (-Tree) or Not to Be — The HFS+ File Systems
  • Adhere to Protocol: The Networking Stack
  • Modu(lu)s Operandi — Kernel Extensions
  • Driving Force — I/O Kit
SHOW MORE
FREE ACCESS