]> Zhao Yanbai Git Server - kernel.git/log
kernel.git
2 years agofix在qemu中pci ide ata硬盘DMA读不到数据的问题
acevest [Thu, 11 Nov 2021 06:29:51 +0000 (14:29 +0800)]
fix在qemu中pci ide ata硬盘DMA读不到数据的问题

2 years agofix pci_write_config_{byte|word|long}没有写往正确寄存器的bug
acevest [Thu, 11 Nov 2021 06:19:25 +0000 (14:19 +0800)]
fix pci_write_config_{byte|word|long}没有写往正确寄存器的bug

2 years ago已经实现了在bochs上的LBA48的DMA读,但是qemu还不行,qemu能触发中断,但没读到数据
acevest [Thu, 11 Nov 2021 03:39:55 +0000 (11:39 +0800)]
已经实现了在bochs上的LBA48的DMA读,但是qemu还不行,qemu能触发中断,但没读到数据

2 years ago开始重写ATA硬盘驱动程序,目前已经获取硬盘基本信息,包括是否支持DMA和LBA48,还有硬盘大小
acevest [Tue, 9 Nov 2021 12:23:47 +0000 (20:23 +0800)]
开始重写ATA硬盘驱动程序,目前已经获取硬盘基本信息,包括是否支持DMA和LBA48,还有硬盘大小

2 years agofix ide register name
acevest [Tue, 9 Nov 2021 11:07:42 +0000 (19:07 +0800)]
fix ide register name

2 years agopci dump
acevest [Tue, 9 Nov 2021 11:07:21 +0000 (19:07 +0800)]
pci dump

2 years ago修复让任务进入WAIT状态不断把TCB加入delay_tasks链表的问题
acevest [Mon, 8 Nov 2021 05:46:33 +0000 (13:46 +0800)]
修复让任务进入WAIT状态不断把TCB加入delay_tasks链表的问题

2 years agoset .bochsrc to fix i8253/4 too fast under bochs
acevest [Mon, 8 Nov 2021 05:33:39 +0000 (13:33 +0800)]
set .bochsrc to fix i8253/4 too fast under bochs

2 years ago让user任务进入wait状态
acevest [Sun, 7 Nov 2021 16:54:28 +0000 (00:54 +0800)]
让user任务进入wait状态

2 years agohightlight system monitor text
acevest [Sun, 7 Nov 2021 15:05:30 +0000 (23:05 +0800)]
hightlight system monitor text

2 years ago将光标颜色与输出字符颜色相统一
acevest [Sun, 7 Nov 2021 14:17:56 +0000 (22:17 +0800)]
将光标颜色与输出字符颜色相统一

2 years ago删除vga.c用tty替代
acevest [Sun, 7 Nov 2021 13:52:52 +0000 (21:52 +0800)]
删除vga.c用tty替代

2 years agonew tty for printk
acevest [Sun, 7 Nov 2021 12:51:15 +0000 (20:51 +0800)]
new tty for printk

3 years agofix 在内核初始化阶段按键盘导致后续无法触发键盘中断的问题
acevest [Sun, 7 Nov 2021 08:38:59 +0000 (16:38 +0800)]
fix 在内核初始化阶段按键盘导致后续无法触发键盘中断的问题

3 years ago初始化VBE;建立到视频缓冲区物理地址的页映射;并测试
acevest [Sun, 7 Nov 2021 08:36:21 +0000 (16:36 +0800)]
初始化VBE;建立到视频缓冲区物理地址的页映射;并测试

3 years ago从vbe中读出显存物理地址并建立地址映射
acevest [Sat, 6 Nov 2021 10:22:53 +0000 (18:22 +0800)]
从vbe中读出显存物理地址并建立地址映射

3 years agoupgrade multiboot to multiboot2
acevest [Sat, 6 Nov 2021 03:56:38 +0000 (11:56 +0800)]
upgrade multiboot to multiboot2

3 years agoprint multiboot info
acevest [Fri, 5 Nov 2021 16:06:05 +0000 (00:06 +0800)]
print multiboot info

3 years agoupgrade multiboot
acevest [Fri, 5 Nov 2021 15:29:34 +0000 (23:29 +0800)]
upgrade multiboot

3 years agoadd kernel.sym
acevest [Fri, 5 Nov 2021 13:37:03 +0000 (21:37 +0800)]
add kernel.sym

3 years agoprint sched cnt
acevest [Fri, 5 Nov 2021 07:03:35 +0000 (15:03 +0800)]
print sched cnt

3 years ago用新的方式跳转到用户态
acevest [Fri, 5 Nov 2021 06:51:10 +0000 (14:51 +0800)]
用新的方式跳转到用户态

3 years agofix multiboot params
acevest [Thu, 4 Nov 2021 15:27:56 +0000 (23:27 +0800)]
fix multiboot params

3 years agofix compile warnings
acevest [Thu, 4 Nov 2021 15:22:43 +0000 (23:22 +0800)]
fix compile warnings

3 years ago加快bootmem初始化
acevest [Thu, 4 Nov 2021 15:00:50 +0000 (23:00 +0800)]
加快bootmem初始化

3 years ago加快内存信息初始化
acevest [Thu, 4 Nov 2021 13:43:19 +0000 (21:43 +0800)]
加快内存信息初始化

3 years agomov include/boot/*.h to boot/
acevest [Thu, 4 Nov 2021 02:40:31 +0000 (10:40 +0800)]
mov include/boot/*.h to boot/

3 years agokmalloc 如果没有找到合适的kmem_cache_t就分配失败
acevest [Thu, 4 Nov 2021 00:48:22 +0000 (08:48 +0800)]
kmalloc 如果没有找到合适的kmem_cache_t就分配失败

3 years agoremove init.h
acevest [Thu, 4 Nov 2021 00:37:25 +0000 (08:37 +0800)]
remove init.h

3 years ago进入ring3
acevest [Wed, 3 Nov 2021 14:03:47 +0000 (22:03 +0800)]
进入ring3

3 years agocr3字段统一处理成物理地址
acevest [Wed, 3 Nov 2021 11:59:58 +0000 (19:59 +0800)]
cr3字段统一处理成物理地址

3 years ago准备ring3的地址映射
acevest [Wed, 3 Nov 2021 10:48:35 +0000 (18:48 +0800)]
准备ring3的地址映射

3 years ago准备降级到ring3
acevest [Wed, 3 Nov 2021 09:10:01 +0000 (17:10 +0800)]
准备降级到ring3

3 years ago三个不同优先级的内核进程开始运行
acevest [Wed, 3 Nov 2021 08:27:57 +0000 (16:27 +0800)]
三个不同优先级的内核进程开始运行

3 years ago删除do_fork里设置priority的测试逻辑;删除do_fork里的load_cr3逻辑
acevest [Wed, 3 Nov 2021 08:27:10 +0000 (16:27 +0800)]
删除do_fork里设置priority的测试逻辑;删除do_fork里的load_cr3逻辑

3 years ago貌似bochs模拟很慢,所以时钟中断改为10Hz
acevest [Wed, 3 Nov 2021 08:23:43 +0000 (16:23 +0800)]
貌似bochs模拟很慢,所以时钟中断改为10Hz

3 years agopid 从0开始分配, 暂时不考虑pid回绕问题
acevest [Wed, 3 Nov 2021 01:37:14 +0000 (09:37 +0800)]
pid 从0开始分配, 暂时不考虑pid回绕问题

3 years ago内核测试线程引入hlt指令
acevest [Wed, 3 Nov 2021 01:36:52 +0000 (09:36 +0800)]
内核测试线程引入hlt指令

3 years agodo_fork继承父进程名字
acevest [Wed, 3 Nov 2021 01:35:32 +0000 (09:35 +0800)]
do_fork继承父进程名字

3 years ago修复在ret_from_fork_krnl中没有正确恢复eflags寄存器的问题
acevest [Wed, 3 Nov 2021 01:27:01 +0000 (09:27 +0800)]
修复在ret_from_fork_krnl中没有正确恢复eflags寄存器的问题

3 years agofix memcpy param in do_fork
acevest [Tue, 2 Nov 2021 16:25:44 +0000 (00:25 +0800)]
fix memcpy param in do_fork

3 years agoremove code
acevest [Tue, 2 Nov 2021 07:30:21 +0000 (15:30 +0800)]
remove code

3 years ago加快一点bootmem分配
acevest [Tue, 2 Nov 2021 06:16:40 +0000 (14:16 +0800)]
加快一点bootmem分配

3 years ago新的简单的bootmem分配算法
acevest [Tue, 2 Nov 2021 05:28:46 +0000 (13:28 +0800)]
新的简单的bootmem分配算法

3 years agobootmem init
acevest [Tue, 2 Nov 2021 03:26:48 +0000 (11:26 +0800)]
bootmem init

3 years agocode style
acevest [Tue, 2 Nov 2021 03:14:22 +0000 (11:14 +0800)]
code style

3 years ago拆分出bootmem层的代码
acevest [Tue, 2 Nov 2021 01:15:07 +0000 (09:15 +0800)]
拆分出bootmem层的代码

3 years agoadd kernel_fork
acevest [Mon, 1 Nov 2021 10:53:10 +0000 (18:53 +0800)]
add kernel_fork

3 years ago优化系统调用
acevest [Mon, 1 Nov 2021 09:07:59 +0000 (17:07 +0800)]
优化系统调用

3 years ago换种方式实现sysc bad number
acevest [Mon, 1 Nov 2021 08:33:17 +0000 (16:33 +0800)]
换种方式实现sysc bad number

3 years agosyscall_entry里不再间接寻址进程的内核栈esp0
acevest [Mon, 1 Nov 2021 08:20:17 +0000 (16:20 +0800)]
syscall_entry里不再间接寻址进程的内核栈esp0

3 years ago优化进程调度
acevest [Mon, 1 Nov 2021 08:10:46 +0000 (16:10 +0800)]
优化进程调度

3 years ago优化中断处理函数;更改进程调度
acevest [Mon, 1 Nov 2021 07:41:28 +0000 (15:41 +0800)]
优化中断处理函数;更改进程调度

3 years agomultiboot header 不再放到二进制的头部
acevest [Mon, 1 Nov 2021 04:09:42 +0000 (12:09 +0800)]
multiboot header 不再放到二进制的头部

3 years agocode style
acevest [Mon, 1 Nov 2021 03:59:24 +0000 (11:59 +0800)]
code style

3 years agoadd docker copy shell script and use new .bochsrc
acevest [Sat, 30 Oct 2021 15:57:11 +0000 (23:57 +0800)]
add docker copy shell script and use new .bochsrc

3 years agodefine BUILDER
acevest [Sat, 30 Oct 2021 15:41:05 +0000 (23:41 +0800)]
define BUILDER

3 years ago0.3.1
acevest [Fri, 29 Oct 2021 02:16:05 +0000 (10:16 +0800)]
0.3.1

3 years agofix compile under MacOS
acevest [Fri, 29 Oct 2021 00:00:13 +0000 (08:00 +0800)]
fix compile under MacOS

3 years agotss.esp0
acevest [Fri, 29 Oct 2021 02:00:43 +0000 (10:00 +0800)]
tss.esp0

3 years agofix gdtr idtr
acevest [Thu, 28 Oct 2021 23:35:39 +0000 (07:35 +0800)]
fix gdtr idtr

3 years agofix new version of grub2 can not load /boot/Kernel
acevest [Tue, 26 Oct 2021 06:27:12 +0000 (14:27 +0800)]
fix new version of grub2 can not load /boot/Kernel

3 years agofix compile under x86_64
acevest [Tue, 26 Oct 2021 06:24:47 +0000 (14:24 +0800)]
fix compile under x86_64

3 years agobochs2.7
acevest [Tue, 26 Oct 2021 01:41:40 +0000 (09:41 +0800)]
bochs2.7

3 years agofix compile
acevest [Tue, 26 Oct 2021 01:35:36 +0000 (09:35 +0800)]
fix compile

3 years agoadd exit support
AceVest [Sat, 18 Oct 2014 12:25:01 +0000 (20:25 +0800)]
add exit support

3 years agodelete old code
AceVest [Sun, 12 Oct 2014 01:01:27 +0000 (09:01 +0800)]
delete old code

3 years agoedit wording
AceVest [Fri, 1 Aug 2014 13:40:05 +0000 (21:40 +0800)]
edit wording

3 years agowording modify
AceVest [Fri, 1 Aug 2014 12:49:01 +0000 (20:49 +0800)]
wording modify

3 years agoimprove shell
AceVest [Thu, 31 Jul 2014 17:31:02 +0000 (01:31 +0800)]
improve shell

3 years agoKernel version 0.3.0
AceVest [Thu, 31 Jul 2014 16:46:40 +0000 (00:46 +0800)]
Kernel version 0.3.0

3 years agoadd simple shell
AceVest [Thu, 31 Jul 2014 16:37:24 +0000 (00:37 +0800)]
add simple shell

3 years agofix write protection bug when fork
AceVest [Thu, 31 Jul 2014 15:20:11 +0000 (23:20 +0800)]
fix write protection bug when fork

3 years agoprintf use stack buffer
AceVest [Tue, 29 Jul 2014 16:29:36 +0000 (00:29 +0800)]
printf use stack buffer

3 years agosuccess on qemu
AceVest [Mon, 28 Jul 2014 16:36:51 +0000 (00:36 +0800)]
success on qemu

3 years agosuccess on bochs
AceVest [Mon, 28 Jul 2014 15:44:52 +0000 (23:44 +0800)]
success on bochs

3 years agofix bug in put_paging
AceVest [Mon, 28 Jul 2014 15:24:39 +0000 (23:24 +0800)]
fix bug in put_paging

3 years agofix bug in put_paging
AceVest [Mon, 28 Jul 2014 15:24:03 +0000 (23:24 +0800)]
fix bug in put_paging

3 years agofix bug in innerint
AceVest [Mon, 28 Jul 2014 15:23:37 +0000 (23:23 +0800)]
fix bug in innerint

3 years agoadd sysc_wait; rewrite mm/page.c
AceVest [Sun, 27 Jul 2014 15:36:15 +0000 (23:36 +0800)]
add sysc_wait; rewrite mm/page.c

3 years agorewrite scheduler
AceVest [Sun, 27 Jul 2014 11:20:18 +0000 (19:20 +0800)]
rewrite scheduler

3 years agofix bug in syscall.S
AceVest [Sun, 27 Jul 2014 09:08:24 +0000 (17:08 +0800)]
fix bug in syscall.S

3 years agosupport read from console
AceVest [Sun, 20 Jul 2014 04:00:44 +0000 (12:00 +0800)]
support read from console

3 years agosupport to execute user program on hard disk
AceVest [Fri, 18 Jul 2014 16:28:28 +0000 (00:28 +0800)]
support to execute user program on hard disk

3 years agofix bug in do_no_page
AceVest [Fri, 18 Jul 2014 16:27:37 +0000 (00:27 +0800)]
fix bug in do_no_page

3 years agouse sysexit to jump to ring3
AceVest [Thu, 17 Jul 2014 01:03:54 +0000 (09:03 +0800)]
use sysexit to jump to ring3

3 years agofix ring3 stack bug
AceVest [Thu, 17 Jul 2014 00:56:32 +0000 (08:56 +0800)]
fix ring3 stack bug

3 years agofix copy on write bug; jump to ring3
AceVest [Wed, 16 Jul 2014 17:55:12 +0000 (01:55 +0800)]
fix copy on write bug; jump to ring3

3 years agoprepare jump to ring3
AceVest [Mon, 14 Jul 2014 15:58:45 +0000 (23:58 +0800)]
prepare jump to ring3

3 years agoadd ext2_read_file
AceVest [Mon, 14 Jul 2014 01:52:39 +0000 (09:52 +0800)]
add ext2_read_file

3 years agoadd ext2_search_inpath
AceVest [Sat, 12 Jul 2014 09:45:36 +0000 (17:45 +0800)]
add ext2_search_inpath

3 years agofix bug in ext2_read_inode
AceVest [Thu, 10 Jul 2014 16:55:19 +0000 (00:55 +0800)]
fix bug in ext2_read_inode

3 years agoadd ext2 read inode and search file in directory
AceVest [Thu, 10 Jul 2014 15:02:51 +0000 (23:02 +0800)]
add ext2 read inode and search file in directory

3 years agodelete binary file shell & hello
AceVest [Wed, 9 Jul 2014 16:01:29 +0000 (00:01 +0800)]
delete binary file shell & hello

3 years agoupdate bin/Makefile
AceVest [Wed, 9 Jul 2014 15:13:50 +0000 (23:13 +0800)]
update bin/Makefile

3 years agoread ext2 super block
AceVest [Tue, 8 Jul 2014 15:54:15 +0000 (23:54 +0800)]
read ext2 super block

3 years agoread root device from cmdline
AceVest [Mon, 7 Jul 2014 16:03:27 +0000 (00:03 +0800)]
read root device from cmdline

3 years agoclean ide code
AceVest [Sun, 6 Jul 2014 16:20:29 +0000 (00:20 +0800)]
clean ide code

3 years agoremove ide_init_intr
AceVest [Sun, 6 Jul 2014 15:54:46 +0000 (23:54 +0800)]
remove ide_init_intr

3 years agoremove ide identify
AceVest [Sun, 6 Jul 2014 15:35:32 +0000 (23:35 +0800)]
remove ide identify