Operating system experiment -- paging storage management

2, Paging memory management catalogue 2.1 purpose 2.2 contents 2.3 experimental tips 2.4 data structure 2.5 algorithm design and flow chart   2.6 operation screenshot 2.7 summary 2.8 code 2.1 purpose Master the basic principle of paging management, and reflect the process of memory space allocation, recovery and address convers ...

Posted by neuroxik on Tue, 12 Oct 2021 15:39:21 -0700

#Mengxin log #1.Python script: the files are sent to the corresponding mailbox in batches according to the student number

        Mengxin records his learning experience in some days. preface:          The teacher sent me the corrected experimental report (. pdf) at noon. As a teacher assistant, I need to return each report to the corresponding students and register my grades. There are 5 + reports and ...

Posted by matthewst on Sun, 10 Oct 2021 05:09:25 -0700

Operating system process synchronization problem

1. Title: there is an empty plate on the table that can hold five fruits. The father kept putting apples or oranges on the plate, the son kept taking oranges out of the plate to enjoy, and the daughter kept taking apples out of the plate to enjoy. It is stipulated that three people cannot use the plate at the same time. Try semaphore to realize ...

Posted by edtlov on Sat, 09 Oct 2021 06:05:43 -0700

Operating system experiment

Experiment 1 command interpreter Experimental content Write a micro command interpreter minishell.c in C language, which can receive and interpret the following commands: (1) dir lists the current directory (2) cop file1 file2 copy files (3) era filename delete file (4) disp string display string (5) end end, exit requirement: (1) Check the v ...

Posted by jazz_snob on Mon, 04 Oct 2021 15:00:33 -0700

Compiling Linux 0.11 kernel

Compiling Linux 0.11 kernel 1, Experimental environment As usual, the experiment is carried out on the Vmware virtual machine. The experimental environment is Ubuntu 16.04. At the same time, this content is also based on the relevant contents of the course experiment of operating system of Harbin University of technology. hit-oslab 2, D ...

Posted by blurredvision on Sat, 02 Oct 2021 11:14:56 -0700

uCore OS(on RISC-V64) - LAB0.5: minimum executable kernel

Experimental purpose Gradually master the following process: How the source code is compiled into an executable file. How the computer loads the operating system after compiling into an executable file. After loading, where to run the operating system. How is the output information of the operating system output. Experimental content F ...

Posted by Crayon Violent on Thu, 30 Sep 2021 19:26:58 -0700

x86 assembly language -- interrupt handling

External interrupt External hardware interrupt For the interrupt signal from the outside of the processor, the external hardware interrupt is introduced into the processor through two signal lines, and the signal lines of 8086 processor are NMI and INTR Non masked interrupt (NMI) is an interrupt that will not be blocked or masked. intel pr ...

Posted by peri on Mon, 27 Sep 2021 19:15:56 -0700

Multithreaded programming

1. What is a thread? Source code - compile and link - > program - load into memory - > process                                        |                                  |                                     Documents         &nbs ...

Posted by rubik on Sat, 25 Sep 2021 21:13:16 -0700

Several semaphore mechanism algorithms

Producer-consumer questions: _is too classic to be repeated. import java.util.concurrent.Semaphore; public class ProducerAndConsumer { static int count = 0; private static final Semaphore full = new Semaphore(0); private static final Semaphore empty = new Semaphore(20); private static final Semaphore mutex = new Semaphore(1); publi ...

Posted by dannon on Mon, 20 Sep 2021 20:50:47 -0700

02--02 Interprocess Communication - Message Queuing, and Code Implementation

1. What is a message queue Message queuing provides a way to send a data block from one process to another.Each data block is considered to contain a type, and the receiving process can independently receive different types of data structures. We can avoid the synchronization and blocking of named pipes by sending messages. However, message qu ...

Posted by shturm681 on Sat, 18 Sep 2021 21:32:51 -0700