Commit Graph

24 Commits

Author SHA1 Message Date
b89617b46a interrupt: load data segment 0 instead of 2 2021-10-14 15:52:38 +08:00
aa11d25fa8 interrupt: load GDT/IDT on the stack
We have to use a separate Assembly function to do that, but maybe with some effort we can make that inline too
2021-10-14 15:51:50 +08:00
ebdc816d82 interrupt: make LoadIDT/GDT() inline 2021-10-14 14:45:57 +08:00
f241551d64 memory: fix InitPaging memory map dump overflow 2021-10-12 20:17:33 +08:00
6a664234a2 driver/ps2: tell if the system has PS/2 mouse, replate Printfs with WriteConsoles 2021-10-12 15:07:50 +08:00
8d53812b36 memory: implememt sbrk() clone for dlmalloc 2021-10-11 23:36:05 +08:00
cd287fe8cb memory: implement kMalloc() to use dlmalloc 2021-10-11 23:35:54 +08:00
947cf0b4aa extlib: add and configure dlmalloc
Get dlmalloc here: ftp://gee.cs.oswego.edu/pub/misc/malloc.c and ftp://gee.cs.oswego.edu/pub/misc/malloc-2.8.6.h
2021-10-11 23:31:23 +08:00
5a7e1863e8 memory: fix paging_map_PageAllocated/2M 2021-10-11 23:23:24 +08:00
ddc08cabaf main: align Buffer to 4K boundary 2021-10-11 23:22:22 +08:00
4b59394238 interrupt: dump all registers and panic on INT<32 2021-10-11 22:52:02 +08:00
6ff7aff718 runtime: increase printf() buffer to 512
Mostly to fit the long panic message by interrupt_Handler, dumping all the registers
2021-10-11 22:50:56 +08:00
103996db2a extlib, memory: remove liballoc and implementation 2021-10-11 21:01:10 +08:00
c3d2cebaaa execformat/pe: test_headers.c support for arbitrary file, disable relocate 2021-10-11 20:48:02 +08:00
b0815a9638 memory: mention map_PagingAllocated zeroes the memory 2021-10-11 20:39:47 +08:00
1fa1a088ab graphics: draw mouse cursor with hotspot 2021-10-10 23:49:50 +08:00
d6ae83b0a8 util: refactor intmin/max to standalone file 2021-10-10 23:45:47 +08:00
dfce649314 graphics, kernel: update cursor pos on kMain hlt hit 2021-10-10 23:20:00 +08:00
def2c3bf7a graphics: refactor Color to a standalone file 2021-10-10 23:18:25 +08:00
abb6a8ea08 graphics: Xcursor load from memory 2021-10-10 23:16:23 +08:00
bb5a8fbfb1 embed: Add default mouse cursor (DMZ-Black) 2021-10-10 23:15:35 +08:00
ec72314963 makefile: add .clangd config 2021-10-10 15:32:55 +08:00
87c86b39a4 makefile: chmod +x for run.cmd 2021-10-10 15:21:59 +08:00
d25da95e1e Initial commit 2021-10-10 14:39:17 +08:00