- 博客(10)
- 资源 (50)
- 收藏
- 关注
原创 linux-0.11调试教程 文件系统中b_uptodate字段的含义
b_uptodate的含义就是sync既是否同步了缓冲区和块设备的内容。void do_hd_request(void){...... if (CURRENT->cmd == WRITE) { hd_out(dev,nsect,sec,head,cyl,WIN_WRITE,&write_intr); for(i=0 ; i
2013-03-24 20:18:13 2966
原创 linux-0.11调试教程,rl_done什么时候为1?
/* What to do when a NEWLINE is pressed. We accept the whole line. KEY is the key that invoked this command. I guess it could have meaning in the future. */rl_newline (count, key) in
2013-03-08 07:42:18 1453
原创 linux-0.11调试教程,rl_dispatch ()函数调用函数的参数的个数
rl_dispatch (key, map) register int key; Keymap map;{... (*map[key].function)(rl_numeric_arg * rl_arg_sign, key);}这里的调用函数的参数个数是两个,但是rl_end_of_line ()函数定义是无参数,2个参数都
2013-03-07 22:02:19 1966
原创 linux-0.11调试教程,HIST_ENTRY结构中data域的用处
HIST_ENTRY结构中data域的使用出现在history.c文件中的replace_history_entry ()函数中。而replace_history_entry ()函数在readline.c文件中有如下两处调用char *readline_internal (){...... if (entry && rl_undo_list)
2013-03-06 20:27:03 1661
原创 linux-0.11调试教程,load_history ()调用过程
shell.cmain () load_history () reader_loop ()/* Load the history list from the history file. */load_history (){ char *hf; /* Truncate history file for interactive
2013-03-05 21:36:31 1445
原创 linux-0.11调试教程,update_line()函数中按下退格键时对应的缓冲区
第一种情况:光标在最后[/root]# abc --> [/root]# ab 按下退格键,length为7第二种情况:光标在倒数第一个字符位置[/root]# abc --> [/root]# ac 按下退格键,length为b第三种情况:光标在倒数第二个字符位置 [/root]# abc
2013-03-05 20:00:22 1351
原创 linux-0.11调试教程,update_line()函数中的按下字符键对应的缓冲区
第一种情况:光标在最后[/root]#a --> [/root]# ab 按下b键,length为1第二种情况:光标在倒数第一个字符位置[/root]# c --> [/root]# ac 按下a键, length为5 第三种情况:光标在倒数第二个字符位置(或第N个位置N>=2)[/ro
2013-03-05 12:39:32 1437
原创 linux-0.11调试教程,终端的初始化init_terminal_io ()函数分析
rl_initialize () readline_initialize_everything () init_terminal_io () tgetent ()tgetent ()处下断点时的情形 0x736e6f63 0x00656c6f 对应的字符串为:consoletgete
2013-03-04 12:18:41 1412
原创 linux-0.11调试教程,update_line()函数分析,和update_line()函数的数据模型
如何由old变成new的?答案在最后!例子一:[/root]# c --> [/root]# ac 按下a键, length为5 具体过程为:[/root]# c --> [/root]# a --> [/root]# acstaticupdate_line (old, new, curren
2013-03-03 15:37:58 1322
原创 linux-0.11调试教程,move_cursor_relative()函数和变量last_c_pos和变量c_pos的关系
move_cursor_relative()函数出现在update_line ()函数中和rl_redisplay ()函数中。move_cursor_relative()函数和last_c_pos的值和c_pos的值密切相关!!![/root]# c --> [/root]# ac 按下a键, length为5 具体过程为:[/roo
2013-03-02 18:51:54 1198
TUTORIAL FOR INSTALLING MINIX-386
2013-12-14
netcat.dll(UDP版) by chenghao0511
2013-05-20
netcat 1.15-3 by chenghao0511
2013-05-16
netcat 1.15-2 by chenghao0511
2013-05-14
netcat 1.142 by chenghao0511
2013-05-05
netcat 1.14 by chenghao0511
2013-05-03
samba rpm包 for centos-5.5
2013-03-25
bash 1.05 by gcc-1.40 in minix-386 第二版
2013-02-23
fdisk-by-chenghao0511 for linux-0.11
2013-02-16
readinode for linux-0.11 by chenghao0511
2013-02-15
readblock for linux-0.11 by chenghao0511
2013-02-15
isbn十位转13位.xlsx
2020-05-09
cute http file server 开发API
2018-11-01
Prime numbers and the Riemann zeta function.by Jørgen Veisdal
2018-03-27
initramfs-tools_0.103
2015-01-29
linux-0.11硬盘集成盘14年1月9日by chenghao0511
2014-01-09
调试shoelace的winiboot所需的img文件
2014-01-08
readline used in linux-0.11 made in minix
2014-01-04
linux-0.11内核文件备份
2014-01-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人