11/13 11/6 OS作業

名稱
11/6 OS作業
日期
11/13
課程名稱
作業系統
指導教師
劉艾華
心得
1.
(1) Message passing is useful for exchanging smaller amounts of data,because no conflicts need be avoided.It is also easier to implement than is shared-memory for intercomputer communication.
(2)
Function: System calls provide a interface between a running program and the operating system.
2.
(1) System calls provide the interface between a running program and the operating system.Typically written in high-level language(C or C++).May need to be written in low-level assembly language.
(2)
The functions thatmake up API typically invoke the actual system calls on behalf of the application programmer.
3. Used to modify a copy of the source code of the OS and have it re-compiled. Data declarations, initializations, and constants, along with conditional compilation, produce an output-object version of the operating system that is tailored to the system decribed.
Used to create tables and the selection modules from a precompiled library. The needed modules are linked together to form the generated OS. The selection allows the library to contain the device drivers for all supported I/O devices, but only those needed are linked into the operating system.
Construct a system that is completely table driven. All the code is always part of the system, and selection occurs at execution time. System generation involves simply creating the appropriate tables to describe the system.