Chapter 14 of the true image restoration of the operating system -- realizing a wide range of file system tasks, stuttering every meal, and walking step by step (next)

Related blog links Errata in this book I've been thinking about this place for a long time. I think it should and must be done. I need to add two lines of code The problem is dir Function delete in C_ dir_ entry There is only one directory item in the allocated block bitmap and it is exactly the directory item we want to delete An ...

Added by ankit17_ag on Sat, 25 Dec 2021 03:27:30 +0200

[MIT6.S081/6.828] teach you how to build a development environment

In autumn, I memorized a lot of octets of the operating system, but I still lack the experience of hands-on practice. There is no clear understanding of how the operating system works, how user programs run, and how to interact with CPU and other hardware. Therefore, recently, I plan to learn the knowledge of the operating system, and ...

Added by crag on Mon, 20 Dec 2021 21:56:44 +0200

Operating system -- classic process synchronization problem

Producer and consumer issues 1. Mutex: the access of producer process and consumer process to buffer pool is mutually exclusive. 2. Synchronization relationship: only when the buffer pool is not full can producers put products into it; Consumers can only take products out of the buffer pool if it is not empty. 1. Use recording semaphore to s ...

Added by Pigmaster on Sun, 19 Dec 2021 16:33:03 +0200

S32K1XX Series MCU -- compiling AUTOSAR OS officially provided with Keil

1. General NXP officially provides AUTOSAR OS code and can be configured with EB, but the official routine can not be directly applicable to Keil. This article introduces how to compile the official AUTOSAR OS source code on Keil. Previously, we have introduced how to compile S32 series MCAL on Keil. If you need it, you can turn to my previou ...

Added by g00bster on Tue, 14 Dec 2021 13:26:51 +0200

One day introduction to linux detailed explanation of linux operating system foundation

preface This article also cost me a lot of effort. First of all, I want to make it clear that at least more than 100% of the knowledge points in this article before I write this article are not clear. Moreover, the total number of words after writing this article is no more than 24 hours, with a statistics of more than 27800 words and more tha ...

Added by andreiga on Mon, 13 Dec 2021 01:58:37 +0200

This article takes you to use a variety of programming paradigms for process encapsulation

preface Previous examples of adders One article makes it easy for you to master multiple paradigms The packaging differences of various paradigms were explained, and many children's shoes were read. This time, I will continue to explain the differences between these programming paradigms through the encapsulation of processes. Structural desi ...

Added by Chris_Mc_1985 on Sun, 12 Dec 2021 16:27:23 +0200

Linux environment variables and process address space

Linux environment variables and process address space //View process pid and parent process [dy@VM-12-10-centos jincheng_12_5]$ ps ajx | head -1 && ps axj | grep 3669470 PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND 3669469 3669470 3669470 3669439 pts/0 3681645 S 1001 0:00 -bash 3669470 3681645 368 ...

Added by perfume on Thu, 09 Dec 2021 15:11:52 +0200

s081-2020 Lab2: system call

Lab2: system call lab2 is still very simple in general. As long as we get through the calling link of system call, there will be no problem. teaching material In Chapter 4, the software and hardware process of xv6 dealing with trap is explained in detail. The specific execution process is not repeated here. Simply explain the execution path ...

Added by dcmbrown on Tue, 07 Dec 2021 01:43:01 +0200

Software implementation method of process mutual exclusion

Principle of mutual exclusion of processes Idle admission: when the critical area is idle, a process should be allowed to access it. Wait when busy: when the critical area is being accessed, other processes trying to access need to wait. Limited waiting: to enter the critical area within a limited time, the packaging will not be hung ...

Added by Moocat on Sun, 05 Dec 2021 04:49:04 +0200

Memory allocation algorithm

Experiment 4 memory allocation algorithm 1, Experimental purpose Write a program to simulate the allocation of memory;Through experiments, we can understand how to realize the allocation and recovery of main memory space under the dynamic partition management mode; 2, Background knowledge A good computer system should not only have a suffic ...

Added by grandadevans on Wed, 01 Dec 2021 13:53:42 +0200