Chap 1 Intro

Shell & GUI

The program that users interact with, usually called the shell when it is text based and the GUI (Graphical User Interface), when it uses icons, is actually not part of the operating system, although it uses the operating system to get its work done.

Kernel & User mode

Most computers have two modes of operation: kernel mode and user mode. The operating system, the most fundamental piece of software, runs in kernel mode (also called supervisor mode).

Operating systems are huge, complex, and long-lived.
The source code of the heart of an operating system like Linux or Windows is on the order of five million lines of code or more.

UNIX and its variants and clones:

System V, Solaris, and FreeBSD.
Linux is a fresh code base, although very closely modeled on UNIX and highly compatible with it.

Operating systems perform two essentially unrelated functions:

  • providing application programmers (and application programs, naturally) a clean abstract set of resources instead of the messy hardware ones
  • managing these hardware resources.

Resource management includes multiplexing (sharing) resources in two different ways: in time and in space. When a resource is time multiplexed, different programs or users take turns using it.
Space multiplexing. Each one gets part of the resource. For example, main memory is normally divided up among several running programs, so each one can be resident at the same time.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容