操作系统
不死鸟-PHOENIX
这个作者很懒,什么都没留下…
展开
-
一个简单的51操作系统
/* os_cfg.h * * * */#include "reg51.h"#define TIME_PER_SEC 200 //定义任务时钟频率,200Hz#define CLOCK 22118400 //定义时钟晶振,单位Hz#define MAX_TASK 4 //定义任务数量/*函数变量声明,在需要用以下函数或变量的文件中包含此文件即可*/extern vo原创 2017-09-18 12:21:55 · 2346 阅读 · 0 评论 -
the mapping between virtual addresses and physical addresses
a page table is the data structure used by a virtual memory computer operating system to store the mapping between virtual addressess and physical addresses.the virtual addresses are used by accessi原创 2017-11-11 15:00:56 · 354 阅读 · 0 评论 -
CACHE
SRAM is called static memory,the data store in memory is don't change unless close the power or write new data.the cpu handle the data is to fast to the memory, so need store the data in the cache,原创 2017-11-11 15:01:44 · 301 阅读 · 0 评论 -
计算机的启动过程
BIOS:英文全称是Basic input/output system,。它固化在微机主板上的一块ROM芯片上。由于ROM的特性决定了它不能写数据,BIOS是工厂生产ROM时就用特殊的方法烧入进去的,所以用户不能修改BIOS,这对BIOS升级带来了很大的不方便。后来又出现了PROM,PROM从工厂生产出来后里面并没有任何数据,用户可以自己用专用的编程器写入BIOS,但也只能写入一次。如果用户想再次原创 2017-11-09 16:23:52 · 420 阅读 · 0 评论 -
冯诺依曼结构和哈佛结构
冯诺依曼结构提出了存储程序的方式,即指令和数据不加区分共同存储在内存中,按顺序执行。EIP指针指向哪cpu就加载哪块内存中的程序。CPU在保护模式中,每段内存都有其描述符,记录着内存的访问权限可读可写可执行。这就变相指明了哪些是指令哪些是数据。存储器是按线性编址的一维结构,内核单元的大小固定。指令由操作码和地址码组成,操作码指明了指令的操作类型,地址码指明了操作数和地址。通过执行指令直原创 2017-11-16 17:27:59 · 858 阅读 · 0 评论