• 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

The problem of sending and receiving strings on the serial port!!!
Recently, when debugging the serial port, I encountered a strange problem. When sending and receiving strings, the last one received is always at the front:For example: Send: 123456789 and receive 912
zhaojun_xf MCU
【Labview】An e-book about labview [Tsinghua textbook]
I found an e-book by chance today and would like to share it with you. It is suitable for beginners. You are also welcome to discuss the problems or experiences you encounter when studying this book.
安_然 Test/Measurement
Electronic components testing methods
Component detection is a basic skill for home appliance maintenance. How to accurately and effectively detect the relevant parameters of components and determine whether the components are normal is n
zzzzer16 Test/Measurement
Urgent
MSP430: Error connecting to the target: Could not find device (or device not supported). I use msp430f5529 to download the program. What's the problem? Is the chip burned or something? Please give me
yngjinping Microcontroller MCU
Discussion on numerically controlled DC voltage source for graduation project~~ (Please give some ideas or suggestions to those who have done it)
Without much practical experience, novices who are new to "digital control DC voltage source" may feel like they are facing a mystery when facing the paper topic, and they don't know where to start. S
soso MCU
What is the difference between 440b0 startup code and bootload?
What is the difference between the startup code and bootload of 440b0? There are several files under a project. What do they mean? Led_test.c 44BLIB_A.S 44binit.s Which of the above files is the start
william228 Embedded System

推荐文章

Linux-3.0.8中基于S5PV210的IRQ模块代码追踪和分析 2025年01月24日
init/main.c: 1 asmlinkage void start_kernel(void) 2 { 3 ...... 4 early_irq_init(); 5 init_IRQ(); 6 ...... 7 } early_irq_init()函数有两种实现,一种是基于radix tree,一种是定义静态数组,如果要使用radix tree实现...
Linux内核静态映射表建立过程分析 2025年01月24日
分析的源码:九鼎为s5pv210移植过的linux+qt4.8的kernel,内核版本号2.6.35 建立映射表的三个关键部分: 映射表 映射表建立函数 映射表建立函数被调用 1. 映射表 具体物理地址和虚拟地址的值相关的宏定义,也就是文章《随笔–Linux字符设备驱动开发基础》中静态映射操作LED一节提到的静态映射表。实际工作中我们也只要明白静态映射表的意义就可以...
linux下dmesg命令详解 2025年01月24日
前言: 有时候想查看一下开机启动信息,可以通过这个命令查询。 1,命令格式 功能说明:显示开机信息。   语  法:dmesg   补充说明:kernel会将开机信息存储在ring buffer中。若是开机时来不及查看信息,可利用dmesg来查看。开机信息亦保存在/var/log目录中,名称为dmesg的文件里。   参  数:     -c  显示信息后,清除rin...
[uboot] (番外篇)uboot之fdt介绍 2025年01月24日
一、介绍 FDT,flatted device tree,扁平设备树。熟悉 Linux 的人对这个概念应该不陌生。 简单理解为将部分设备信息结构存放到device tree文件中。 uboot最终将其device tree编译成dtb文件,使用过程中通过解析该dtb来获取板级设备信息。 uboot的dtb和kernel中的dtb是一致的。这部分建议直接参考wowo的dtb的文...

Recommended Content

可能感兴趣器件

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号