• You can log in to your eeworld account to continue watching:
  • U disk driver development experiment (2)
  • Login
  • Duration:52 minutes and 20 seconds
  • Date:2018/10/21
  • Uploader:老白菜
Introduction
keywords: Linux operating system OS

(1) Operating system operating mechanism, interrupt/exception handling process, system calls and system usage interfaces. In class, we focus on explaining the operating mechanism of the operating system kernel function program, using analogies with daily life to explain the function of interrupts and implementation technology, using the actual operating system interface to demonstrate operating system utility programs, and allowing students to write a shell command interpreter in the after-school experiment. Understand system usage interfaces and use system calls in programming.

(2) Process concept, process switching and process scheduling. The actual operating system is used to demonstrate process creation and termination, and operating system tools are used to observe the properties of processes in the system and the rotation of processes. Classroom explanations emphasize the timing and methods of process scheduling switching, and multi-process programming is implemented in after-class experiments.
(3) Synchronous mutual exclusion primitives and applications. Heuristic explanation of the introduction of synchronized mutual exclusion primitives, some imperfect mutual exclusion implementations, guiding students to find out the shortcomings or errors of limited concurrency or inability to be mutually exclusive, and to find effective solutions. Use examples to repeatedly explain the application of primitives.
(4) Address translation and page replacement in paged virtual storage management. Put forward requirements from the perspective of user-friendly programming, introduce technology from the perspective of making full use of memory, and inspire students to understand the implementation of storage virtualization technology.
(5) The composition, function and interface of the driver, disk driver and request optimization, and caching technology. Use actual operating system driver files to enhance students' impressions, and use the operating system's delay or acceleration in reading and writing files and executing programs to illustrate disk request optimization and caching techniques.
(6) The directory structure and file storage and access permission mechanism of the file system. The file system is introduced by analogy with storage management, emphasizing the persistence characteristics of the file system, summarizing the security access mechanism of storage, and guiding students to understand operating system resource virtualization technology.
(7) Thread concept and thread implementation. The classroom uses actual operating systems to demonstrate threads, emphasizing the difference between threads and processes. The experiment advocates the use of threads for multi-programming, and compares the cost and security differences between multi-thread and multi-process programming.

Unfold ↓

You Might Like

Recommended Posts

Accounting, let's talk about the requirements of software design~~
Hehe, although I have been struggling with this issue for a long time, I still want the accountant to clarify it again. After all, it has lasted for such a long time. For example, the basic functions
soso DIY/Open Source Hardware
PCap01
Where can I buy PCap01 (general agent)? Which company can I apply for samples?
cjq_enjoy Automotive Electronics
Low Noise Gain Selectable Amplifier Selection
[p=30, null, left][font=宋体][font=Verdana][color=#111111] [/color][color=#000000] Data acquisition, sensor signal conditioning, and other applications with wide input signal variations require gain sel
Jacktang Analogue and Mixed Signal
A question about the lwip protocol stack sending data packets.
When the lwip protocol stack sends a data packet, it will decompose a packet into several buffers, and then use these buffers to form a list. But I don't know what the principle of its decomposition i
fkuegogguh Embedded System
SensorTile AirDrum Dual Drumstick Production
This time I want to make dual drumsticks, and the Android app needs to make some modifications. It should have been a simple thing to modify, but it took several hours. Because the computer hard drive
littleshrimp MEMS sensors
About the communication between the socket service written in Java and the client written in C
Hello: Recently, due to the needs of a project, the client sends a request data, and the server makes different responses based on the data after receiving it. I wrote a server in Java, and the reques
独步狼 Embedded System

推荐文章

linux驱动开发之九鼎板载蜂鸣器驱动测试 2025年02月18日
字符设备驱动用的fileopretion结构体。 1、板载蜂鸣器的驱动测试 我手里有一个BSP,九鼎的Bsp,里面有蜂鸣器的驱动,我们先测试一下好不好用。我们拿到一个BSP时,如果要做或移植蜂鸣器的驱动,首先要确定下这个内核中究竟有没有蜂鸣器的驱动,我们可以用sourceInsight将内核放进去,搜索buzzer这个文件,看有没有,如果不行,也可以在内核中输入make...
linux驱动开发(十)——misc杂散设备 2025年02月18日
1:什么是misc驱动模型? 2:为什么要有misc驱动模型? 3:misc驱动模型的代码实现 4:misc驱动模型实战 参考: http://blog.csdn.net/yicao821/article/details/6785738 http://www.thinksaas.cn/topics/0/507/507168.html http://www.cnblogs.co...
linux驱动学习笔记---实现中断下半部以及驱动编写规范(七) 2025年02月18日
中断下半部: tasklet : struct tasklet_struct { struct tasklet_struct *next; unsigned long state; atomic_t count; void (*func)(unsigned long); //下半部要执行的代码 unsigned long data; // 传递给fun...
1、话说linux内核 2025年02月17日
1.内核和发行版的区别 到底什么是操作系统 linux、windows、android、ucos就是操作系统 操作系统本质上是一个程序,由很多个源文件构成,需要编译连接成操作系统程序(vmlinz、zImage) 操作系统的主要作用就是管理计算机硬件,给应用程序提供运行环境。 操作系统核心功能: 内存管理。如果没有操作系统,内存是需要程序自己来管理的。譬如在ub...

Recommended Content

Circuit

可能感兴趣器件

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号