Commit Graph

338 Commits

Author SHA1 Message Date
Mathieu Maret
edbbaec930 Correct some warnings 2024-01-26 22:53:39 +01:00
Mathieu Maret
45ec3c1a7b Fix brk api to match GLIC and add sbrk
Also free userspace allocated memory
2024-01-26 22:26:40 +01:00
Mathieu Maret
2359cf2744 process: add name getter 2024-01-26 22:23:58 +01:00
Mathieu Maret
ee42ba1350 Update gcc deps
Ubuntu gcc does not include libgcc for 32bits anymore and we are using access attribut from gcc 11
2024-01-26 22:23:10 +01:00
Mathieu Maret
01f5b872f2 ata: fix read/write on 2nd/4th disk 2023-11-21 00:06:09 +01:00
Mathieu Maret
8a4e0ff10f Fix ata device detection
After grub loading sector and LBA could have been altered
2023-11-20 23:11:12 +01:00
Mathieu Maret
f110f85498 Simplify partition setup
To prepare part1 for grub, part2 for userdata
2023-11-20 00:15:50 +01:00
Mathieu Maret
f05e017d45 backtrace: print function name instead of addr
Thx to the ELF header given by the bootloader
2023-11-20 00:12:58 +01:00
Mathieu Maret
60e71f6521 elf: move struct definition to header 2023-11-20 00:09:02 +01:00
Mathieu Maret
6a00aa4762 Correct ld variable type
They should be declared as char
2023-11-20 00:02:22 +01:00
Mathieu Maret
63757b1e0c Grub: change default timeout 2023-11-19 23:52:41 +01:00
Mathieu Maret
01d54dea85 Add partial multiboot2 support 2023-11-17 23:32:52 +01:00
Mathieu Maret
107bcedf90 Fix boot.S compilation 2023-11-17 15:32:24 +01:00
Mathieu Maret
cf3c2f10fd VGA: fix MAP when reconfigured 2023-11-17 14:54:26 +01:00
Mathieu Maret
a4f5a367ab Some userspace online doc 2023-11-11 00:09:00 +01:00
Mathieu Maret
bee58d9642 Add a (bad)free in userspace 2023-11-11 00:08:08 +01:00
Mathieu Maret
1120b40655 Rename Yolo syscall to Helo 2023-11-11 00:07:26 +01:00
Mathieu Maret
b0a192ce7c Add tinyC grammar desc 2023-11-10 22:54:35 +01:00
Mathieu Maret
d6dc298d35 Add more makefile doc 2023-11-09 23:46:26 +01:00
1e6614308a Merge pull request 'attribut_format' (#6) from attribut_format into master
Reviewed-on: #6
2023-11-09 23:45:14 +01:00
Mathieu Maret
4376201d32 debug symbols are expected in .debug file 2023-11-09 23:44:04 +01:00
Mathieu Maret
18ea283213 Use format attribut and correct associated errors 2023-11-09 23:44:04 +01:00
Mathieu Maret
9eb1e37a64 use access from gcc 11 for userspace 2023-11-08 21:55:11 +01:00
Mathieu Maret
a179a6a0a7 use access from gcc 11 2023-11-08 21:52:55 +01:00
Mathieu Maret
a459111348 Makefile: help menu and gen .i files 2023-11-08 21:02:53 +01:00
Mathieu Maret
bff24b2213 Various code fix 2023-11-08 21:00:38 +01:00
Mathieu Maret
44fa5967dd Fix uninitialized variable 2023-03-21 23:41:23 +01:00
Mathieu Maret
6580bb08ba tinyc : add > support
Also can be run several time
2023-03-21 23:40:28 +01:00
Mathieu Maret
445fb63134 Add tiny-C interpreter 2023-03-21 23:12:20 +01:00
Mathieu Maret
4c523bf956 libc: add a, bad, malloc 2023-03-21 22:41:17 +01:00
Mathieu Maret
1f844d6a35 keyboard: add alt modifier 2023-03-21 22:40:10 +01:00
Mathieu Maret
098330c845 Add memmove to klibc 2023-03-05 20:34:24 +01:00
Mathieu Maret
a65a3d1697 Correct totologic warning 2023-02-01 13:26:53 +01:00
Mathieu Maret
509a1fd992 Test alloc on several page 2022-09-03 23:41:33 +02:00
Mathieu Maret
edcac85b35 OnDemand paging for heap 2022-09-03 23:32:31 +02:00
Mathieu Maret
535290cf40 Add doc generation 2022-09-03 23:31:51 +02:00
Mathieu Maret
72d566986c Add serialOut info in doc 2022-09-03 22:55:11 +02:00
Mathieu Maret
6471ee9a2d Implement brk syscall simple case 2022-09-03 22:43:41 +02:00
Mathieu Maret
c59eb339e9 Add Userspace Addr Space notion 2022-08-07 23:14:26 +02:00
Mathieu Maret
0e11da855c Replace cst by its name 2022-08-07 16:20:01 +02:00
Mathieu Maret
350b5c41c3 Add diagram to doc 2022-07-30 15:59:50 +02:00
Mathieu Maret
ed55f1cc23 mem: Correct physical mem for code bank 2022-07-29 00:32:34 +02:00
Mathieu Maret
e754feab32 README fix spacing 2022-07-29 00:18:24 +02:00
Mathieu Maret
4e6622d16e alloc: no need from slab >= PAGE_SiZE 2022-07-29 00:17:52 +02:00
Mathieu Maret
db0fa8ba56 Add some documentation 2022-07-29 00:16:57 +02:00
Mathieu Maret
7891554d8b move elf in dedicated file 2022-07-25 17:10:28 +02:00
Mathieu Maret
db0d3dff14 Add debug link for kernel symbols 2022-04-05 22:00:14 +02:00
Mathieu Maret
070a42844a Makefile: Add screenshot target 2021-11-15 14:57:57 +01:00
Mathieu Maret
4f5b5583cb ata: fix controller init 2021-11-13 12:34:02 +01:00
Mathieu Maret
fb9bd8df7d Various small fix 2021-11-13 08:31:05 +01:00