Commit Graph

386 Commits

Author SHA1 Message Date
3856a5dc0a Get init loaded as a separate process 2019-05-06 08:24:57 -05:00
52882f0794 Fix new_address_space and copy_data. 2019-05-06 08:24:30 -05:00
f34d5029df Add createTaskCr3 2019-05-05 13:30:01 -05:00
1efc0bff19 Add new_address_space as a syscall 2019-05-05 13:14:14 -05:00
a2cd8e3330 Add copy_data function 2019-05-05 13:03:14 -05:00
999295ff2d Tasking can now create tasks with user-defined page directories. 2019-05-05 13:01:24 -05:00
630769065d Fix more warnings 2019-05-05 07:31:13 -05:00
21a395de3b Remove logging messages in kernel and fix some warnings 2019-05-05 07:27:57 -05:00
9952f5f382 Send_msg should now work across address spaces 2019-05-04 10:59:23 -05:00
35bba425ac Send_msg now reqires size 2019-05-04 10:58:52 -05:00
c679ae1bde Add find_free_pages function 2019-05-04 10:52:38 -05:00
6036151e0d Fix virt_to_phys 2019-05-04 10:49:27 -05:00
355fd3d6ed Add virt_to_phys in paging.h 2019-05-04 10:42:17 -05:00
64b249b9c0 Actually fix syscalls for messages 2019-05-04 10:41:42 -05:00
24ca0aa079 Fix sycalls for messages 2019-05-04 10:40:00 -05:00
339a4e3357 Messages now use syscalls 2019-05-03 09:33:26 -05:00
2675fd2d31 IPC now does not require shared address space 2019-05-03 08:42:12 -05:00
361bfb0aa8 Kernel code now only loads init 2019-05-03 08:34:22 -05:00
de7c321933 Add ports.c and vga.c to prog 2019-05-01 19:45:30 -05:00
11f313ee9f Move libc out of OBJ 2019-05-01 19:45:16 -05:00
89d3d2f7f4 Add include directory to prog make 2019-05-01 19:45:06 -05:00
67e9a89c03 Program does not return 2019-05-01 19:42:46 -05:00
f43d8e3af4 Run program at end of init() 2019-05-01 19:40:59 -05:00
50b0c0a4c4 Move _start to a dedicated file 2019-05-01 11:55:54 -05:00
593e618318 Remove some logging 2019-05-01 09:41:31 -05:00
3691d6b1f5 Essentially merge ext-prog-libc 2019-05-01 09:39:23 -05:00
5cb95d816f long mode paging work 2019-04-30 17:11:26 -05:00
5020cfa3dd Remove magic breakpoint 2019-04-27 15:30:20 -05:00
83e1f27567 i386 moved to multiboot2 and x86_64 has physical memory manager 2019-04-27 15:03:31 -05:00
c6bca7f177 Add long mode IDT 2019-04-27 09:51:32 -05:00
5384ec3af0 Add VGA driver 2019-04-26 10:03:16 -05:00
fbef5710ed Long mode works!!! 2019-04-26 09:47:57 -05:00
1690e1ed5b Change multiboot2 to multiboot in grub.cfg 2019-04-26 09:21:16 -05:00
e10fe99d05 Remove long mode env 2019-04-26 09:20:07 -05:00
ab2934be1b Long mode work 2019-04-26 08:45:37 -05:00
c75aa35e1b Long mode work 2019-04-25 15:46:48 -05:00
b9cc54ddf7 Fix makefile error 2019-04-22 16:42:34 -05:00
e51f3e4db2 Start work on x86_64 platform 2019-04-22 13:18:27 -05:00
20a954716e Change malloc definition to use size_t 2019-04-22 13:18:05 -05:00
43817628cc GCC now passes -n option to linker 2019-04-22 13:17:33 -05:00
8225e9d0cc Move linker scrript to cpu directory 2019-04-22 13:17:06 -05:00
44a3ee18d4 Add nasm to platform specific file 2019-04-22 13:16:50 -05:00
c8bd8918cd Change pointer casts to uint32_t to char* 2019-04-22 08:48:13 -05:00
d8dade3fb3 Fix platform-specific makefile 2019-04-22 08:39:46 -05:00
dea2a0a1d3 Fix ext2 driver 2019-04-21 15:27:34 -05:00
056f13c675 get_dir_listing now returs array of dir_entries 2019-04-21 15:16:30 -05:00
f612cea891 Added dir_entry struct with inode, type ad name info 2019-04-21 15:15:19 -05:00
c851e2a2ca dir_entry renamed to ext2_dir_entry 2019-04-21 15:14:45 -05:00
cc0f4f12d6 ext2 driver now uses inode pointers 2019-04-21 14:32:57 -05:00
2219d22d01 ext2.h now uses proper _H macro check 2019-04-21 14:31:09 -05:00