CSE120

CSE120 - ANDROID OS CSE120 (SP11) Xiao Ma...

Info iconThis preview shows pages 1–16. Sign up to view the full content.

View Full Document Right Arrow Icon
ANDROID OS CSE120 (SP11) Xiao Ma (xiao@xiao-ma.com ) Tuesday, May 31, 2011
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Tuesday, May 31, 2011
Background image of page 2
the defnition oF open: "mkdir android ; cd android ; repo init -u git://android.git.kernel.org/platForm/ maniFest.git ; repo sync ; make" WHY ANDROID? What does it mean to researchers? What does it mean to users? Tuesday, May 31, 2011
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
OUTLINE Android platform architecture OS kernel, libraries and devices Android programming model Delvik Virtual Machine Energy efFciency How to write efFcient code Tuesday, May 31, 2011
Background image of page 4
FIRST THING FIRST What is the difference between a mobile OS and a desktop/server OS? Tuesday, May 31, 2011
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ARCHITECTURE Tuesday, May 31, 2011
Background image of page 6
ANDROID Tuesday, May 31, 2011
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ANDROID Tuesday, May 31, 2011
Background image of page 8
ANDROID Tuesday, May 31, 2011
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
BASED ON LINUX Tuesday, May 31, 2011
Background image of page 10
BASED ON LINUX Android uses Linux 2.6 kernel as the hardware abstraction Tuesday, May 31, 2011
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
BASED ON LINUX Android uses Linux 2.6 kernel as the hardware abstraction What are the essences an OS should provide? Memory management, process management, IPC No virtual memory; specially implemented IPC Tuesday, May 31, 2011
Background image of page 12
BASED ON LINUX Android uses Linux 2.6 kernel as the hardware abstraction What are the essences an OS should provide? Memory management, process management, IPC No virtual memory; specially implemented IPC Drivers and architecture support How to port Android to a new device? Tuesday, May 31, 2011
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
BASED ON LINUX Android uses Linux 2.6 kernel as the hardware abstraction What are the essences an OS should provide? Memory management, process management, IPC No virtual memory; specially implemented IPC Drivers and architecture support How to port Android to a new device? Using Linux vs. Writing a new OS from scratch Do all Linux kernel implementations work well on mobile devices? Tuesday, May 31, 2011
Background image of page 14
APPLICATION LIBRARY GNU libs (glibc) is too big and complicated for mobile phones, so Android implements its own special version of libc - Bionic libc : Smaller size - 200K (glibc is more than 400K) Strip out some complicated C++ features, the most signiFcant one - no C++ exception! Very special and small pthread implementation, heavily based
Background image of page 15

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 16
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/26/2012 for the course CSE 120 taught by Professor Staff during the Spring '08 term at UCSD.

Page1 / 52

CSE120 - ANDROID OS CSE120 (SP11) Xiao Ma...

This preview shows document pages 1 - 16. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online