Operating System Flashcards
Program
-> what is wrote in the source code, is static, stored on disk and is code that performs some task (Java, complied executable etc).
Process
-> the activity that the CPU performs when it executes a program, dynamic, instruction pointer starts at first instruction in memory, loaded from disk into memory.
Dynamic because inputs may vary results, but the program doesn’t change since it is the code itself.
Central Kernel
-> resides in memory permanently. Performs low-level, frequently needed activities and operates in “kernel mode”.
Shell
-> provides the user interface for OS, allows user to run and interact with program and operates in “user mode”.
Set of processes
-> might be created by the kernel ,or executed when the user runs software. Can be privileged or non-privileged.
SetUp with ROM and IP
When device is turned on, an interrupt is sent to the CPU. The instruction pointer is set to the first address in ROM and the FDE cycle begins.
ROM Bootstrap Program
ROM contains a small bootstrap program, performing basic system checks, setting up the system bus and I/O channels, and loads OS kernel from disk and passes control to it.
Connection Between Kernel and Shell in startup
The kernel performs further setup and system checks, starting processes allowing background tasks and starts the main shell process.
The main shell process then allows interaction with the OS, processing the run in user mode.