1 / 19

Mac and Intel

Mac and Intel. The Merge. Introduction. http://www.apple.com/intel/ads/ Every Apple computer will come with an Intel Core Duo inside New core processor = new computer What about the Mac OS X under a new core?. Introduction. Answer: Look at the Core Processor (Eder)

devlin
Download Presentation

Mac and Intel

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Mac and Intel The Merge

  2. Introduction • http://www.apple.com/intel/ads/ • Every Apple computer will come with an Intel Core Duo inside • New core processor = new computer • What about the Mac OS X under a new core?

  3. Introduction • Answer: • Look at the Core Processor (Eder) • Look at Mac OS X (Jared)

  4. What makes a computer tick? • The processor is a set of instructions that can be addressed by the OS • Each processor requires a specific system architecture to work: the motherboard

  5. G5 90 nm transistor 64 bit IBM Instruction RISC Intel 65 nm transistor 32 bit G5 (IBM) vs Intel Core Duo

  6. BLNV Branch with Link NeVer BLEQ Branch with Link if EQual SWI "OS_DoSomethingOrOther" ; call the SWI MVNVS R0, #0 ; If failed, set R0 to -1 MOVVC R0, #0 ; Else set R0 to 0 The RISC processor From http://www.heyrick.co.uk/assembler/riscvcisc.html

  7. G5 90 nm transistor 64 bit IBM Instruction RISC Intel 65 nm transistor 32 bit Intel Instruction set + 13 CISC and RISC G5 (IBM) and Intel core duo

  8. JA Jump if Above JAE Jump if Above or Equal JB Jump if Below JPO Jump if Parity Odd JS Jump if Sign JZ Jump if Zero INT $...whatever... ; call the interrupt CMP AX, 0 ; did it return zero? JE failed ; if so, it failed, jump to fail code MOV DX, 0 ; else set DX to 0 Return RET ; and return failed MOV DX, 0FFFFH ; failed - set DX to -1 JMP return The CISC processor RISC • SWI "OS_DoSomethingOrOther" ; call the SWI • MVNVS R0, #0 ; If failed, set R0 to -1 • MOVVC R0, #0 ; Else set R0 to 0 From http://www.heyrick.co.uk/assembler/riscvcisc.html

  9. G5 90 nm transistor 64 bit IBM Instruction RISC Intel 65 nm transistor 32 bit Intel Instruction set + 13 CISC and RISC http://www.intel.com/products/processor/coreduo/smartcache.htm A new deep sleep state G5 (IBM) and Intel core duo

  10. The bottom line • The Mac basically has become a PC • Or has it? • It is just a box with a set of instructions that need an OS to be controlled • Maybe a new Mac OS • Maybe Linux • Maybe Windows

  11. The OS X kernel: XNU – “X is Not Unix” Hybrid Kernel design – both Monolithic and Microkernel Based on the Mach (developed at Carnegie Mellon University) and BSD kernels. Uses the I/O Kit device driver framework

  12. Mach Features • Kernel threads • Processes • Pre-emptive multitasking • Message-passing (used in IPC) • Protected memory • Virtual memory management • Very soft real-time support • Kernel debugging support • Console I/O

  13. BSD Features • POSIX API (BSD system calls) • Unix process model atop Mach tasks • basic security policies • user and group ids • Permissions • the network stack • the virtual file system code • cryptographic framework • System V IPC

  14. I/O Kit Driver Framework, written in a subset of C++ Drivers can be written quickly, using less code The I/O Kit is multi-threaded, SMP safe, and allows for hot pluggable devices and automatic, dynamic device configuration

  15. Where are we now? April 3rd, 2006: OS X 10.4.6 – Tiger August 2006: OSX 10.5 -Leopard

  16. Transfer to x86 Rosetta • “The most amazing software you’ll never see” Universal Software • Includes dual binaries

  17. Macs take over the world! Boot Camp • For Core Duo Macs • Allows you to install Windows XP / Vista on a Mac! • Retrives Drivers from the Mac

More Related