Write the OS kernel from scratch - system call
BIOS boot to real mode GDT and protected mode virtual memory preliminary load and enter kernel display and print global descriptor table GDT interrupt processing virtual memory perfect implement heap sum Malloc first kernel thread multi-threaded run and switch lock with multi-threaded synchronization into user mode process implementation system call simple file system load executable program keyboard driver run shell system call attached to a process implementation, this will start...
C51 MCU learning log
At the beginning of the installation of the driver there is a problem, the driver clearly has been installed, but can not identify the MCU interface, ask customer service, feel customer service is also very confusing, finally solved. Visual inspection is either USB line contact is bad, or the installation of Win10 drive did not work, because the back also installed an XP drive.
Write the OS kernel from scratch - enter user mode
BIOS startup to real mode GDT and protected mode virtual memory preliminary loading and entering kernel display and print global descriptor table GDT interrupt processing virtual memory perfect implementation heap and Malloc first kernel thread multithreaded run with switch lock with multithreaded synchronization into user mode process implementation a simple file system load executable program system call implementation keyboard driver run shell user mode thread in the previous several installments, we...
Write the OS kernel-process implementation from scratch
BIOS startup to real mode GDT and protected mode virtual memory preliminary loading and entering kernel display and print global descriptor table GDT interrupt processing virtual memory perfect implementation heap and Malloc first kernel thread multithreaded run and switch lock with multithreaded synchronization into user mode Process implementation system call simple file system load executable program keyboard driver run shell Process Process
Use libjpeg-trubo to process JPEG images
RGB-to-JPEG review the last article [manual generation of a JPEG picture] according to [JPEG file format detail] step by step to achieve the RGB data generated a JPEG picture. You can feel, to achieve the basic system of JPEG coding or quite complex, JPEG compression coding algorithm is divided into 11 steps: color pattern conversion sampling block discrete cosine transform (DCT) quantization Zigzag scan...
Arrays in the C language
3) The essence of an array is a contiguous memory, which is used to store the elements of an array; The sizeof the array can be obtained by sizeof, in bytes; Sizeof (arrName). Array size: sizeof(arrName)/sizeof(arrName[0])
Writing the OS kernel from scratch - A preliminary study of virtual memory
BIOS startup to real mode GDT and protected mode virtual memory preliminary loading and entering kernel display and print global descriptor table GDT interrupt handling virtual memory perfect implementation heap and malloc the first kernel Threads Multi-Thread Switching Lock with Implementation of Multi-Thread Synchronous Processes Into User Mode A Simple File System Loading Executable Program System Call Implementation Keyboard Drives Running ShellKernel Virtual Memory Overview
Write OS Kernel from Zero - BIOS boot to real mode
BIOS startup to real mode GDT and protected mode virtual memory preliminary loading and entering kernel display and print global descriptor table GDT interrupt handling virtual memory perfect implementation heap and malloc the first kernel Thread Multi-Thread Switching Lock with Multi-Thread Synchronization Process Implementation Into User Mode A Simple File System Loading Executable Program System Call Implementation Keyboard Driver Running Shell Implementation
Write the OS kernel from scratch - prep work
BIOS startup to real mode GDT and protected mode virtual memory preliminary loading and entering kernel display and print global descriptor table GDT interrupt handling virtual memory perfect implementation heap and malloc the first kernel Thread Multi-Thread Switching Lock with Multi-Thread Synchronization Process Implementation Into User Mode A Simple File System Loading Executable Program System Call Implementation Keyboard Drives Running Shell Installation BochsBochs is a hardware emulation...
Write OS kernel from scratch - lock synchronization with multithreading
BIOS startup to real mode GDT and protected mode virtual memory preliminary loading and entering kernel display and print global descriptor table GDT interrupt processing virtual memory perfect implementation heap and Malloc first kernel thread multithreaded run with switch lock with multithreaded synchronization into user mode process implementation a simple file system load executable program system call implementation keyboard driver run shell multithreaded race