OS X and iOS Kernel Programming

时间:2015-06-05 16:22:42
【文件属性】:
文件名称:OS X and iOS Kernel Programming
文件大小:5.45MB
文件格式:PDF
更新时间:2015-06-05 16:22:42
ios pdf apress Apress, 2011 Kernel development can be a daunting task and is very different from programming traditional user applications. The kernel environment is more volatile and complex. Extraordinary care must be taken to ensure that kernel code is free of bugs because any issue may have serious consequences to the stability, security, and performance of the system. This book covers the fundamentals necessary to begin programming in the kernel. We cover kernel development from a theoretical and practical point of view. We cover concepts fundamental to kernel development such as virtual memory and synchronization, as well as more practical knowledge. The book primarily focuses on Mac OS X, however the XNU kernel is also used by iOS, and hence the theoretical material in this book will also apply to it. By far the most common reason for doing development within the kernel’s execution environment is to implement a device driver for controlling internal or external hardware devices. Because of this, much of the focus of this book is centred on the development of device drivers. The primary framework for device driver development in the XNU kernel is I/O Kit, which we cover extensively. As theory becomes boring quickly we have provided working code samples which you can play with to learn more or use as a starting point for your own drivers. We hope you have as much fun reading this book as we have enjoyed writing it. The book was written for anyone interested in Apple’s iOS and Mac OS X operating systems, with a focus on practical kernel development, especially driver devel. Regardless of whether you are a hobbyist, student, or professional engineer, we hope to provide you with material of interest. While the focus is on kernel programming and development, we will cover many theoretical aspects of OS technology and provide a detailed overview of the OS X and iOS kernel environments. The aim of the book is to provide the knowledge necessary to start developing your own kernel extensions and drivers. We will focus in particular on the I/O Kit framework for writing device drivers and extensions, but we will also cover general knowledge that will give you a deeper understanding of how I/O Kit interacts with the OS. If you are mainly interested in developing OS X or iOS user applications, this book may not be for you. We will not cover Cocoa or any other framework used for developing end-user applications. This book covers kernel-programming topics such as driver and kernel extension development on Apple’s OS X and iOS platform. Some knowledge of operating system internals will be useful in understanding the concepts discussed in this book. Having completed an introductory computer science or engineering course will be a helpful starting point. Additionally, knowledge of at least one programming language will be required in order to understand examples throughout the book. Since we focus on I/O Kit, which is written in a subset of C++ called Embedded C++, it would be highly beneficial to have some experience with C++ (or at least C) to make the most of this book. The book does not cover general programming topics or theory. We will briefly cover some fundamentals of OS theory to provide a context for further discussions. amazon link:http://www.amazon.com/exec/obidos/ASIN/1430235365/buythisbooks-20

网友评论

  • 超经典,下载有段时间了,经常会拿出来翻翻!
  • 经典,ios开发必读
  • 很好的书,中文版翻译晦涩了看原版吧
  • 比较深入的一本书,感谢分享。
  • 很经典的一本书,对内核的描述很透彻
  • Good book to know mac
  • 经典书籍,不解释了
  • 比较深入啊,不好懂,慢慢消化
  • 真的感谢,讲的很详细,谢谢分享
  • 知识点比较深入,慢慢学
  • 本书写得偏向Kernel 上的USB & IO部份,若要全面了解kernel 的话建议可以搭配另一本 Mac OS X Internals: A Systems Approach by Amit Singh.
  • 偏向底层的书
  • 比较深入啊,不好懂,慢慢消化
  • 高级货,不错
  • 内核编程的书啊,可惜是英文版,慢慢吭吧。
  • 全英文的,吃力啊
  • 不错,正学习写KEXT,挺有帮助的
  • 讲了苹果驱动开发,不错。但是将xnu内核要靠另一本书macos internals
  • 不错,深入了解Ios的书籍
  • 偏向底层的书
  • mac device driver开发的书不多,这本应该不错,还要仔细研究。支持买该纸质正版书。
  • 不同於一般的iOS書籍,它觸及到iOS的一些較少被談論但重要的核心功能。