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

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

于 2023-01-15 发布 文件大小:74.88 kB
0 105
下载积分: 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 个回复

  • S3C44B0X CPU SDRAM hy29lv160bt闪光:::hy57v641620 8m 2m 2 USB1.1 PDIUSBD12的COM…
    CPU:S3C44B0X FLASH:HY29LV160BT 2M SDRAM:HY57V641620 8M 2 COM USB1.1 PDIUSBD12 NET RTL8019AS JTAG 14PIN LCD 接口 4 KEY 3 LED 峰鸣器 时钟电池-CPU : S3C44B0X FLASH : 2M SDRAM HY29LV160BT : HY57V641620 8M two COM USB 1.1 PDIUSBD12 NET RTL8019AS JTAG interface LCD 14PIN four LED KEY 3-Wong-clock battery
    2023-03-12 23:30:03下载
    积分:1
  • This a simple bootloader for AT91SAM7{S,X}{64,128,256} processors. It permits...
    This a simple bootloader for AT91SAM7{S,X}{64,128,256} processors. It permits you to download new code to the device over USB. This bootrom is installed at address 0x00000000 in the ARM, which means that it is the first piece of code to execute after reset. At startup, it waits for a few seconds to see if the downloader is trying to connect. If not, then the bootloader gives up control and jumps to your program. If the downloader is trying to connect, then the bootloader receives the new program over USB and writes it into flash.
    2022-07-02 10:50:21下载
    积分:1
  • ARM programming 16 burning Flash
    ARM 编程16位Flash烧写-ARM programming 16 burning Flash
    2022-07-07 12:05:05下载
    积分:1
  • 51单机简单模拟投币游戏机
    单片机接21个数码管 6个按键 5个继电器,其中20个数码管分别显示5组4位倒计时,另外一个显示投币数量,1个按键模拟投币感应传感器信号,其余5个按键模拟玩家按下的游戏进行按键,5个继电器模拟游戏是否进行。当投币按键按下后投币数量显示加1,游戏进行按键按下对应倒计时数据加10秒(可累计)投币数量减1,对应继电器吸合,倒计时结束继电器断开。
    2022-03-24 14:01:04下载
    积分:1
  • 如题原理图
    如题原理图-diagram
    2022-07-19 15:07:12下载
    积分:1
  • it is a motor controller that write with xmega for DC Motor
    在这个程序中,我们要用H桥和PWM信号来控制直流电机
    2022-03-30 22:30:05下载
    积分:1
  • 数码投影仪系统,采用C语言编写,包括全部源码和电路图
    数码投影仪系统,采用C语言编写,包括全部源码和电路图-Digital projection systems, using C language, including all source code and schematic
    2022-04-27 12:25:23下载
    积分:1
  • InterFlashDriver关于P30的驱动
    InterFlashDriver关于P30的驱动-InterFlashDriver on P30 driver
    2023-08-30 04:30:03下载
    积分:1
  • fdgdfg fg df fdgdfg dfg
    dfgfd fg fdg dfg dfgdfg dfg dfg fg dfg dfffdg dfg Lorem Ipsum es simplemente el 缔约国 de relleno de las imprentas y archivos de 缔约国。Lorem Ipsum 医管局内幕 el 缔约国 de relleno estándar de las 普 desde el año 1500,宽联合国 (N.del T.角色 que se 奉献式 imprenta) impresor desconocido usó una 南方 de textos y los mezcló 而且没有 de tal 行为 que logró hacer 联合国 libro de textos 报告。不是 sólo sobrevivió 500 años,信 que tambien ingresó 科摩缔约国 de relleno en 之 electrónicos,quedando esencialmente igual al 原始。综 popularizado en 洛杉矶 60s con la creación de las hojas las cuales contenian pasajes de"Letraset"Lorem Ipsum,y más recientemente con 软件 de autoedición、 科摩 por ejempl
    2022-01-30 10:40:11下载
    积分:1
  • 2410
    2410-1型和2410-3型IDE实验手册,包括主要的步骤和源代码。-2410-1 and 2410-3 experiments Manual-based IDE, including the main steps and the source code.
    2022-07-01 02:21:35下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载