操作系统
操作系统
_Focus_
ACL/NAACL/EMNLP/COLING审稿人,
金庸群侠传MOD大侠梦/曹操传MOD禾下霸业作者
展开
-
linux下调试linux0.11
image直接用的这里的http://oldlinux.org/Linux.old/Linux-0.11/images/ insight-6-8-1编译 yum install ncurses-devel ./configure --disable-werror make make install原创 2014-12-25 17:44:49 · 1118 阅读 · 2 评论 -
windows下调试linux0.11
http://www.oldlinux.org/oldlinux/viewthread.php?tid=11074 注意看下面的评论和包里的readme mingw-insight原创 2014-12-24 15:14:58 · 1278 阅读 · 0 评论 -
centOS+bochs+gdb调试linux0.11
编译并安装bochs: yum -y install gcc gcc-c++ libstdc++-devel yum install libX11-devel yum install gtk2-devel ./configure --enable-gdb-stub make make install原创 2014-12-23 18:05:26 · 2977 阅读 · 5 评论 -
bochs tips
./configure --prefix=/path用这个指定安装目录 编译错误提示缺少pthread库支持,手工加上: #vi Makefile 然后在92行修改: LIBS = -lm -lgtk-x11-2.0 - ... 前加上-lpthread, 如下: LIBS = -lpthread -lm -lgtk-x11-2.0 - .原创 2013-06-15 11:14:31 · 840 阅读 · 3 评论 -
OSASK笔记
MOV BYTE [i] , ( i & 0x0f ) 向内存第i号地址写入 i&0x0f 的计算结果 , C语言版: int i; char *p; p=(char * )i ; *p=i & 0x0f原创 2013-08-04 15:06:15 · 1644 阅读 · 0 评论 -
【Orange‘s操作系统】常用指令
dd if=boot.bin of=a.img bs=512 count=1 conv=notrunc bximage mount -o loop pm.img /mnt/floppy cp pmtest1.com /mnt/floppy umount /mnt/floppy原创 2013-06-19 20:28:45 · 939 阅读 · 2 评论 -
【Orange‘s操作系统】名词,缩略词
CPL : Current Privilege Level DPL : Descriptor Privilege Level RPL : Request Privilege Level 引导扇区:Boot Sector ——是软盘的第0个扇区,其中有BPB(Bios Parameter Block)原创 2013-06-19 20:28:43 · 1025 阅读 · 6 评论 -
【Orange‘s操作系统】nasm,打印的code
LABEL_SEG_CODE_DEST: mov ax,SelectorVideo mov gs,ax mov edi,(80*12+0)*2 ;屏幕第12行第0列 mov ah,0Ch ;0000黑底 1100红字 mov al,'C' retf原创 2013-07-08 22:20:50 · 1103 阅读 · 1 评论 -
Orange's笔记
GDT的表项叫 描述符Descriptor 描述符的种类还有 系统段描述符 和 门描述符 (保护模式protected mode)段式存储机制:通过 段寄存器(CS,DS等) 和 GDT中的描述符共同提供原创 2013-06-16 16:05:55 · 1229 阅读 · 8 评论 -
GridOS,debug in console.c
static int number_to_unicode[10] = { 48, 49, 50, 51, 52, 53, 54, 55, 56, 57 }; static int height = 1; static void debug_in_console(int* number){ int unicode = 100; int width = 400; if (*n原创 2014-11-30 22:15:10 · 859 阅读 · 1 评论 -
OS前沿论文 ; http://pdos.csail.mit.edu/
https://www.usenix.org/conference/osdi14/technical-sessions/presentation/peter原创 2014-11-16 11:07:13 · 1138 阅读 · 2 评论 -
smp、mpp
Teradata原创 2014-09-30 13:31:17 · 1288 阅读 · 0 评论 -
long mode 资料链接
http://www.mouseos.com/arch/longmode.html http://wiki.osdev.org/User:Stephanvanschaik/Setting_Up_Long_Mode原创 2013-07-05 09:43:45 · 796 阅读 · 2 评论 -
OS,名词,缩略词
The Global Descriptor Table (GDT) is specific to the IA32 architecture. It contains entries telling the CPU about memory segments. The GDT contains a list of descriptors.Each of these descr原创 2013-06-25 21:11:22 · 821 阅读 · 0 评论 -
操作系统概念
内存通常分为两个区域:一个用于驻留操作系统,一个用于用户进程。操作系统可以放在低内存也可以放在高内存,影响这一决定的主要因素是中断向量的位置。 内存保护:保护操作系统不受用户进程影响,保护用户进程不受其他用户进程影响。通过采用重定位寄存器和界限寄存器可以实现这种保护 覆盖(overlay)为了能让进程比它所分配到的内存空间大原创 2012-07-28 17:20:59 · 720 阅读 · 0 评论 -
操作系统概念
逻辑地址——CPU所生成的地址 物理地址——内存单元所看到的地址(即加载到内存地址寄存器中的地址) (此书对逻辑地址和虚拟地址不加区别) 内存管理单元(MMU)——运行时从虚拟地址到物理地址的映射 帧——物理内存分为固定大小的块 页——逻辑内存分为和帧同样大小的块 信号在UNIX中用做通知进程某个特定事件已经发生了。 信号量——进程同步原创 2012-06-11 19:46:59 · 545 阅读 · 0 评论
分享