목록Operating System (5)
5 DERECHA
https://www.geeksforgeeks.org/oops-interview-questions/ 1. What is Operating System ? An operating system is an interface that manages hardware resources and serves as a bridge between hardware and applications or software(e.g. service daemon) that run on it by using kernel. It coordinates various hardware resources, such as the CPU, GPU, memory, storage devices, and input/output peripherals(key..
1. Header (1) #pragma once #include "windef.h" #include "stdint.h" #include "MultiBoot.h" #include "Hal.h" #define PMM_BLOCKS_PER_BYTE 8 #define PMM_BLOCK_SIZE4096 #define PMM_BLOCK_ALIGNBLOCK_SIZE #define PMM_BITS_PER_INDEX32 namespace PhysicalMemoryManager { voidInitialize(multiboot_info* bootinfo); void SetBit(int bit); void UnsetBit(int bit); uint32_t GetMemoryMapSize(); //메모리맵의 크기를 얻어낸다. ui..
1. Concept Process and Thread are fundamental concepts in computer science and operating systems, used to manage the execution of tasks or programs in a computer system. (1) Process A process can be thought of as an instance of a program in execution. It consists of a program code, data, and system resources such as memory, file handles, and CPU time. A process has its own memory space and runs ..
1. Real Mode When a computer boots up, the CPU starts executing code from a specific memory location called the reset vector. This location is typically set to the beginning of the system's BIOS firmware, which is responsible for initializing hardware devices and providing basic system services. During the boot process, the CPU starts in a mode called real mode. In this mode, the processor is li..
The operating system (OS) is a software program that manages and controls the hardware and software resources of a computer system. It is responsible for providing a platform for running applications, managing system resources such as memory, CPU, and I/O devices, and providing user interfaces for interacting with the system. 1. Process 1) Process A process in an operating system is a program th..