Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 CE6130 現代作業系統核心 Modern Operating System Kernels 許 富 皓.

Similar presentations


Presentation on theme: "1 CE6130 現代作業系統核心 Modern Operating System Kernels 許 富 皓."— Presentation transcript:

1 1 CE6130 現代作業系統核心 Modern Operating System Kernels 許 富 皓

2 2 Chapter 1 Concepts and Tools

3 3 Windows Operating System Releases Product NameInternal Version Number Release Date Windows NT 3.13.1July 1993 Windows NT 3.53.5September 1994 Windows NT 3.513.51May 1995 Windows NT 4.04.0July 1996 Windows 20005.0December 1999 Windows XP5.1August 2001 Windows Server 20035.2March 2003

4 4 Windows API The Windows Application Programming Interface (API) is the system programming interface to the Microsoft Windows operating system family, including Windows 2000 Windows XP Windows Server 2003 Windows 95 Windows 98 Windows Millennium Edition (Me) Windows CE Each operating system implements a different subset of the Windows API.

5 5 Prior to the introduction of 64-bit versions of Windows XP and Windows Server 2003, the programming interface to the 32-bit version of the Windows operating systems was called the Win32 API, to distinguish it from the original 16-bit Windows API, which was the programming interface to the original 16-bit versions of Windows. In this book, the term Windows API refers to the 32-bit interface to Windows 2000 and both the 32-bit and 64-bit programming interfaces to Windows XP and Windows Server 2003.

6 6 Windows API Categories The Windows API consists of thousands of callable functions, which are divided into the following major categories: Base Services Component Services User Interface Services Graphics and Multimedia Services Messaging and Collaboration Networking Web Services

7 7 A Term in Different Contexts Has Different Meaning Several terms in the Windows user and programming documentation have different meanings in different contexts. For example, the word service can refer to a callable routine in the operating system a device driver or a server process.

8 8 Windows API Functions Documented, callable subroutines in the Windows API. Examples include CreateProcess, CreateFile, and GetMessage.

9 9 Native System Services (or Executive System Services) The undocumented, underlying services in the operating system that are callable from user mode. For example, NtCreateProcess is the internal system service the Windows CreateProcess function calls to create a new process.

10 10 Kernel Support Functions (or Routines) Subroutines inside the Windows operating system that can be called only from kernel mode. For example, ExAllocatePool is the routine that device drivers call to allocate memory from the Windows system heaps.

11 11 Windows Services Processes started by the Windows service control manager. Although the registry defines Windows device drivers as "services," we don't refer to them as such in this book. For example, the Task Scheduler service runs in a user mode process that supports the at command (which is similar to the UNIX commands at or cron ).

12 12 DLL (Dynamic-Link Library) A set of callable subroutines linked together as a binary file that can be dynamically loaded by applications that use the subroutines. Examples include Msvcrt.dll (the C run-time library) and Kernel32.dll (one of the Windows API subsystem libraries). Windows user-mode components and applications use DLLs extensively. The advantage DLLs provide over static libraries is that applications can share DLLs, and Windows ensures that there is only one in-memory copy of a DLL's code among the applications that are referencing it.

13 13

14 14


Download ppt "1 CE6130 現代作業系統核心 Modern Operating System Kernels 許 富 皓."

Similar presentations


Ads by Google