摘要: 文件系统 [参考gitHub博主][https://mp.weixin.qq.com/s?__biz=Mzk0MjE3NDE0Ng==&mid=2247494176&idx=1&sn=b4680b50090bb3c7b9c49379241c536c&chksm=c2c5908df5b2199b361 阅读全文
posted @ 2022-08-10 12:59 水三丫 阅读(205) 评论(0) 推荐(0) 编辑
摘要: springBoot+Vue 的token登录验证的使用 前端Vue 登录页请求代码: // 登入 function login(){ if(user.userCode "" || user.userPassword ""){ flag.value = true msg.value = "账号或者密 阅读全文
posted @ 2022-08-09 21:25 水三丫 阅读(1257) 评论(0) 推荐(0) 编辑
摘要: 6、第六个初始化函数, time_in() 参考 [github这个博主的 厉害][ https://github.com/sunym1993/flash-linux0.11-talk ] 先来看看这个函数吧 init文件 -> mian.c static void time_init(void) 阅读全文
posted @ 2022-08-09 12:53 水三丫 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 5、第五个初始化函数,tty_init() 参考 [github这个博主的 厉害][ https://github.com/sunym1993/flash-linux0.11-talk ] 先看看这个tty_init()的这段代码: kernel文件 -> chr_drv文件 ->tty_io.c 阅读全文
posted @ 2022-08-08 13:45 水三丫 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 3、第三个初始化函数,blk_dev_init() 参考 [github这个博主的 厉害][ https://github.com/sunym1993/flash-linux0.11-talk ] kernel文件 -> blk_drv文件 -> l_rw_blk.c void blk_dev_in 阅读全文
posted @ 2022-08-08 13:43 水三丫 阅读(108) 评论(0) 推荐(0) 编辑
摘要: Vue3 使用v-md-editor如何动态上传图片了 前端代码: <v-md-editor :autofocus="true" v-model="blog.content" height="510px" placeholder="请输入内容" left-toolbar="undo redo cle 阅读全文
posted @ 2022-08-06 22:19 水三丫 阅读(2196) 评论(1) 推荐(3) 编辑
摘要: 2、第二个初始化函数,trap_init() 参考 [github这个博主的 厉害][ https://github.com/sunym1993/flash-linux0.11-talk ] kernel文件夹 -> traps.c void trap_init(void) { int i; set 阅读全文
posted @ 2022-08-06 10:35 水三丫 阅读(250) 评论(0) 推荐(0) 编辑
摘要: init文件夹 mian.c 参考 [github这个博主的 厉害][ https://github.com/sunym1993/flash-linux0.11-talk ] 首先先看看这个mian.c中的主要几行代码吧 void main(void) { ROOT_DEV = ORIG_ROOT_ 阅读全文
posted @ 2022-08-04 20:44 水三丫 阅读(231) 评论(0) 推荐(0) 编辑
摘要: head.s 参考 [github这个博主的][ https://github.com/sunym1993/flash-linux0.11-talk ] 改变栈顶位置 _pg_dir: startup_32: movl $0x10,%eax mov %ax,%ds mov %ax,%es mov % 阅读全文
posted @ 2022-08-01 21:20 水三丫 阅读(283) 评论(0) 推荐(0) 编辑
摘要: boot文件 setup.s 第二篇随笔 参考 [github这个博主的][ https://github.com/sunym1993/flash-linux0.11-talk ] 中断获取光标的位置,和从磁盘读取一些东西 entry start start: ; ok, the read went 阅读全文
posted @ 2022-07-28 21:17 水三丫 阅读(206) 评论(0) 推荐(0) 编辑