登录
首页 » 嵌入式芯片 » 这是一个不到2000行的操作系统,巧妙地利用ARM9 CPU的内存管理单元(MMU)实现进程的切换。ARM9的4G虚拟地址可分成128个进程空间,每个32M。虽...

这是一个不到2000行的操作系统,巧妙地利用ARM9 CPU的内存管理单元(MMU)实现进程的切换。ARM9的4G虚拟地址可分成128个进程空间,每个32M。虽...

于 2023-01-15 发布 文件大小:74.88 kB
0 84
下载积分: 2 下载次数: 1

代码说明:

这是一个不到2000行的操作系统,巧妙地利用ARM9 CPU的内存管理单元(MMU)实现进程的切换。ARM9的4G虚拟地址可分成128个进程空间,每个32M。虽然它们的虚拟地址(VA)都是0-(32M-1),但是对应的MVA(Modified vitual address,由虚拟地址VA和进程号PID组合而来)不一样,设置MVA对应的页表指向不同物理地址就可以很方便地让各进程运行空间相互隔开。代码很少,注释丰富,希望能对想理解操作系统、了解ARM体系结构的朋友有所帮助。 -This is a trip of less than 2000 operating system, cleverly using ARM9 CPU memory management unit (MMU) to achieve the switching process. ARM9 4G virtual address can be divided into 128 process space, each 32M. While their virtual address (VA) are 0- (32M-1), but the corresponding MVA (Modified Virtual address, and by the virtual address VA and the process of portfolio from PID) not the same, set MVA corresponding page table at the different physical address can be very easy to let the the process of separating the mutual operation of space. Code rarely Notes rich, in hopes of understanding the operating system, understanding the ARM architecture friends help.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 本书详细介绍了TMS320F2812的基本特点、硬件结构、内部功能模块的基本原理等内容...
    本书详细介绍了TMS320F2812芯片的基本特点、硬件结构、内部功能模块的基本原理等内容-The book details the basic characteristics of TMS320F2812 chip, hardware structure, the internal function modules, etc. The basic principle
    2023-01-16 14:50:04下载
    积分:1
  • ARM946E_S review
    ARM946E_S review
    2023-05-07 03:30:03下载
    积分:1
  • ARM
    ARM-Based Product U-Boot.pdf(英文文章,讲解了Uboot的功能、原理,并且详细介绍了uboot的详细使用方法,在超级终端下面开发程序和引导操作系统的详细步骤)-ARM-Based Product U-Boot.pdf (English articles on the functions of the Uboot, principle and the details uboot the detailed use of the Super Terminal following procedures and guide the development of the operating system steps in detail)
    2023-07-15 07:35:03下载
    积分:1
  • ARM since learning some lessons learned, in their own design S3C44B0X an example...
    本文是我学习ARM开发以来的一些经验总结,以自己设计的S3C44B0X板为例,给出我调试开发ARM开发板的一些最基础知识。我只是在自己的开发板调试过并且经验有限,有些知识只能做为参考,不一定准确,就算给大家一个“例程”吧,如果大家有不同意见,希望多多指正!-ARM since learning some lessons learned, in their own design S3C44B0X an example, I presented the development and debugging of the ARM development board some of the most basic knowledge. I was only in their own development boards tuned and limited experience, some knowledge only as a reference, not necessarily accurate, even if everyone with a "routine" for the country, if we have different opinions, many correct!
    2022-08-17 20:19:34下载
    积分:1
  • fat32文件系统源代码
    此程序在51单片机,stm32等设备上实现了读写fat32的文件,有读写,创建目录,删除目录,创建文件删除文件的功能,并且占用的内存少,对于带有spi功能的51单片机,实现sd卡的fat32是一个不错的选择,而且还可以在stm32 s3c2440等arm嵌入式设备上实现fat32,对于做mp3,mp4是一个不错的选择
    2022-07-13 17:42:41下载
    积分:1
  • This code helps us to interface ARM with external memory
    This code helps us to interface ARM with external memory
    2022-01-27 14:23:13下载
    积分:1
  • pl2200easy arm is used in several code
    pl2200easy arm 几个很用的代码-pl2200easy arm is used in several code
    2022-01-26 02:08:32下载
    积分:1
  • ARM7 lpc22eb06 步进电机驱动程序实例
    ARM7 lpc22eb06 步进电机驱动程序实例-ARM7 lpc22eb06 example stepper motor driver
    2022-08-18 19:47:54下载
    积分:1
  • MiniGUI在AT91RM9200上的移植,MiniGUI在AT91RM9200上的移植
    MiniGUI在AT91RM9200上的移植,MiniGUI在AT91RM9200上的移植-AT91RM9200 MiniGUI in the transplant, MiniGUI on the AT91RM9200 transplant
    2023-05-03 22:15:03下载
    积分:1
  • ARM(S3C44B0X)的完整代码
    一个uCOS ARM(s3c44b0x)的完整代码-an ARM (s3c44b0x) the integrity code
    2022-04-06 21:21:18下载
    积分:1
  • 696518资源总数
  • 105554会员总数
  • 2今日下载