2.1.1 The Operating System as a User/Computer Interface(1/ 2) Application Application programs programming interface Application Libraries/utilities Software binary interface Operating system Instruction Set Architecture Execution hardware M System interconnect translation Hardware 1/O devices Main an memory networking Figure 2. 1 Computer Hardware and Software Infrastructure
2.1.1 The Operating System as a User/Computer Interface (1/2) Figure 2.1 Computer Hardware and Software Infrastructure 7
2.1.1 The Operating System as a User/Computer Interface(2/ 2) Key interfaces Instruction set architecture(Isa) a specification of the set of opcodes(machine language) implemented by a particular processor Application binary interface(ABI interface between a library and the operating system at machine code leve Application programming interface(API) set of subroutine definitions protocols, and tools for building software and applications make it easier for developers to use certain technologies in building applications by abstracting the underlying implementation(e.g. Windows API, and Java api
2.1.1 The Operating System as a User/Computer Interface (2/2) • Key Interfaces • Instruction set architecture (ISA) • a specification of the set of opcodes (machine language) implemented by a particular processor • Application binary interface (ABI) • interface between a library and the operating system at machine code level • Application programming interface (API) • set of subroutine definitions, protocols, and tools for building software and applications. • make it easier for developers to use certain technologies in building applications by abstracting the underlying implementation (e.g. Windows API, and Java API) 8
2.1 Operating System objectives and Functions 2.1.0 Introduction .2 1.1 The Operating System as a User/computer Interface 2. 1. 2 The Operating System as resource Manager 2.1.3 Ease of evolution of an operating system
2.1 Operating System Objectives and Functions • 2.1.0 Introduction • 2.1.1 The Operating System as a User/Computer Interface • 2.1.2 The Operating System as Resource Manager • 2.1.3 Ease of Evolution of an Operating System 9
2.1.2 The Operating System as Resource Manager(173) The operating system as resource manager Responsible for managing resources/hardware Work in the same way as ordinary computer software It is program that is executed Operating system frequently relinquishes( A)and regains control of the processor
2.1.2 The Operating System as Resource Manager (1/3) • The Operating System as Resource Manager • Responsible for managing resources/Hardware • Work in the same way as ordinary computer software • It is program that is executed • Operating system frequently relinquishes(放 弃) and regains control of the processor 10
2.1.2 The Operating System as Resource Manager(2/3) App2 广空间 C library System call interface Process Memory Fil lesystem Device management management support control Networking Filesystem CPU support CPU/MMU Storage Character Network ode support code drivers device drivers device drivers
2.1.2 The Operating System as Resource Manager (2/3) 11