-
b8ec8918b7
Kernel: We can't lock the MMU lock in load()
Bananymous
2023-05-29 19:39:35 +03:00
-
ff83f967d8
Kernel: Make RecursiveSpinLock thread safe
Bananymous
2023-05-29 19:38:09 +03:00
-
998999a755
Kernel: Add SYS_SLEEP
Bananymous
2023-05-28 22:34:48 +03:00
-
09666adc53
Kernel: fork() now copies allocations through FixedWidthAllocator
Bananymous
2023-05-28 21:34:35 +03:00
-
ec73db0057
Kernel: Move page macros to Types.h
Bananymous
2023-05-28 21:03:08 +03:00
-
833642d405
Kernel: ISR will now crash userspace process instead of panicing kernel
Bananymous
2023-05-28 20:53:10 +03:00
-
f04399c3a0
Kernel: fork() now copies allocation done through GeneralAllocator
Bananymous
2023-05-28 20:37:39 +03:00
-
f2d767b799
Kernel: Add bareboness fork() function
Bananymous
2023-05-28 18:08:26 +03:00
-
3e93dae53c
Kernel: Add invalidate() to MMU
Bananymous
2023-05-28 18:05:30 +03:00
-
187bb046aa
Kernel: fix MMU::map_page_at()
Bananymous
2023-05-28 17:57:05 +03:00
-
dd4973ac35
LibC: fputs uses fputc instead of putc
Bananymous
2023-05-28 16:25:26 +03:00
-
b021d3eebd
Kernel: Processes and Threads use VirtualRange memory allocations
Bananymous
2023-05-28 16:24:41 +03:00
-
15842db83e
Kernel: Move PhysicalRange to its own file and add VirtualRange
Bananymous
2023-05-28 16:21:45 +03:00
-
869de7283f
Kernel: MMU::get() is now MMU::kernel
Bananymous
2023-05-28 16:18:18 +03:00
-
a2ee543fa1
Shell: we now link BAN (we can't use it though)
Bananymous
2023-05-26 22:24:17 +03:00
-
eb24d32383
Kernel: Directory listing is working again
Bananymous
2023-05-26 22:23:56 +03:00
-
565e3db22d
Kernel: kmalloc debug_dump is marked [[maybe_unused]]
Bananymous
2023-05-26 22:23:17 +03:00
-
faf14b880e
LibC: Rewrite all the headers.
Bananymous
2023-05-26 22:21:07 +03:00
-
faa7bc6043
BAN: libban is now build into library dir
Bananymous
2023-05-22 20:19:21 +03:00
-
03c64b950b
BAN: Errors.h can be included from userspace
Bananymous
2023-05-22 19:54:59 +03:00
-
27147790fd
Userspace: Start work on shell
Bananymous
2023-05-16 19:22:46 +03:00
-
1658e925f2
Kernel: Add bareboness possibility to set termios
Bananymous
2023-05-16 19:22:10 +03:00
-
82dcec9576
Buildsystem: Fix userspace link order
Bananymous
2023-05-16 19:21:07 +03:00
-
80d9f6131b
Kernel/LibC: move file offset back to kernel
Bananymous
2023-05-16 14:14:47 +03:00
-
e0a72defa2
Kernel: Add argc and argv to process entry
Bananymous
2023-05-16 00:27:49 +03:00
-
e0a7e242f8
Kernel: Add MMUScope
Bananymous
2023-05-16 00:25:30 +03:00
-
6acb86c14b
Kernel: MMU keeps track of the current
Bananymous
2023-05-16 00:26:13 +03:00
-
8ec675cca6
LibC: fix bugs with printf
Bananymous
2023-05-15 22:02:33 +03:00
-
591d03de95
BAN: add is_arithmetic and is_signed to Traits.h
Bananymous
2023-05-15 20:26:29 +03:00
-
ec316391c5
Kernel: argc is passed as zero to userspace
Bananymous
2023-05-11 18:27:31 +03:00
-
7543fadfa8
LibC: printf now prints 0 as integer
Bananymous
2023-05-11 18:20:37 +03:00
-
bbaf1223f3
BuildSystem: add helper to create userspace programs
Bananymous
2023-05-11 18:10:06 +03:00
-
177b205c48
BuildSystem: userspace has cmake target
Bananymous
2023-05-11 16:19:53 +03:00
-
729ff267d7
LibC: add function declarations to sys/stat.h
Bananymous
2023-05-11 01:48:33 +03:00
-
d9be14e1fb
LibC: add function declarations to dirent.h
Bananymous
2023-05-11 01:42:52 +03:00
-
8a9f9b07e7
LibC: add definitions to math.h
Bananymous
2023-05-11 01:40:42 +03:00
-
c989a01913
LibC: add defines in stdio.h
Bananymous
2023-05-11 01:39:16 +03:00
-
5188efcc57
LibC: add function declarations to unistd.h
Bananymous
2023-05-11 00:18:05 +03:00
-
c05a5b796b
LibC: add function declarations to string.h
Bananymous
2023-05-11 00:00:16 +03:00
-
f0058e67c2
LibC: add function declarations to math.h
Bananymous
2023-05-10 23:56:28 +03:00
-
508d6311de
LibC: define all errnos and strerror{name,desk}_np
Bananymous
2023-05-10 23:51:26 +03:00
-
7c6bf40d0d
LibC: add function declarations to time.h
Bananymous
2023-05-10 23:29:10 +03:00
-
a74343c589
LibC: add more types to sys/types.h
Bananymous
2023-05-10 23:28:56 +03:00
-
d188576ef3
LibC: Add dummy signal.h
Bananymous
2023-05-10 23:20:27 +03:00
-
d922c5e1d0
LibC: add toupper, tolower in ctype.h
Bananymous
2023-05-10 23:13:56 +03:00
-
0adf24fcad
LibC: Add dummy setjmp.h
Bananymous
2023-05-10 23:00:53 +03:00
-
80e13965d9
LibC: Add dummy locale.h
Bananymous
2023-05-10 22:56:41 +03:00
-
36707ec87a
LibC: implement printf conversions e, E, f, F
Bananymous
2023-05-10 22:36:03 +03:00
-
5f89f083a2
LibC: add math.h with floorl
Bananymous
2023-05-10 22:35:20 +03:00
-
0d9422ead8
BAN: add pow, log2, log10, log in math
Bananymous
2023-05-10 19:03:33 +03:00
-
cae0a1cc60
LibC: add working f modifier to printf
Bananymous
2023-05-10 15:41:11 +03:00
-
480d92fce5
LibC: add better error string support
Bananymous
2023-05-10 02:22:31 +03:00
-
49fe3d0d4f
LibC: add probably functional *printf
Bananymous
2023-05-10 02:00:28 +03:00
-
ff2e2937a5
Kernel: Remove offset from OpenFileDescriptor
Bananymous
2023-05-09 20:31:22 +03:00
-
0cc1fb53d5
LibC: Fix bug in *printf
Bananymous
2023-05-09 20:30:12 +03:00
-
512be884ed
Kernel: Add barebones GeneralAllocator for >4096B
Bananymous
2023-05-08 22:10:49 +03:00
-
f1667b398a
Kernel: FixedWidthAllocator operates on MMU
Bananymous
2023-05-08 00:06:56 +03:00
-
b0ec0f1a1a
Kernel: We add FixedWidthAllocators on demand
Bananymous
2023-05-07 23:57:01 +03:00
-
05046d6e93
BAN: Error uses 64 bit error codes
Bananymous
2023-05-07 02:09:52 +03:00
-
054c5450df
LibC: syscall() now returns -1 on error and updates errno
Bananymous
2023-05-07 01:51:39 +03:00
-
12e42f40c5
Kernel/LibC: add free function for FixedWidthAllocator
Bananymous
2023-05-07 01:21:50 +03:00
-
890aa9aa15
BuildSystem: linker -O2 doesn't do anything? hopefully
Bananymous
2023-05-06 18:14:45 +03:00
-
bcfd838131
Kernel: Add basic fixed width allocator for userspace
Bananymous
2023-05-06 18:10:38 +03:00
-
9c07add00f
Kernel: Invalid physical addresses from heap are specified now by 0
Bananymous
2023-05-06 01:03:04 +03:00
-
ab8aac7dcf
Kernel: GDT tss selector is now 16 bit value
Bananymous
2023-05-06 00:57:00 +03:00
-
f36b94d039
Kernel: MMU can now provide info about virtual address space
Bananymous
2023-05-06 00:14:54 +03:00
-
92daa831d1
Kernel: ISRs now print pid and tid
Bananymous
2023-05-06 00:10:15 +03:00
-
e7a170c89f
Kernel: 64 bit MMU now properly identity maps kernel
Bananymous
2023-05-05 14:18:18 +03:00
-
3c5d3eb8ad
Kernel: TTY input process is now single instance
Bananymous
2023-04-30 16:11:14 +03:00
-
55bb0084aa
Kernel: namespace and function renames
Bananymous
2023-04-28 14:45:09 +03:00
-
acf5660090
Kernel: Add set_tss_stack() to 32 bit
Bananymous
2023-04-28 14:44:23 +03:00
-
9d7530662f
Kernel: dprintln file name is now relative
Bananymous
2023-04-28 14:43:19 +03:00
-
9cf09165b5
BAN: Add is_power_of_two to Math functions
Bananymous
2023-04-28 14:42:49 +03:00
-
e1a6e7c3ac
LibC: add proper stdlib.h header
Bananymous
2023-04-27 15:14:03 +03:00
-
3537d53d5c
LibC: add link to posix stdio.h
Bananymous
2023-04-27 14:16:25 +03:00
-
c20ba3064d
Userspace: Simple stdio test
Bananymous
2023-04-25 14:50:26 +03:00
-
a22caa38d2
Kernel: Scheduler updates tss stack on thread execution
Bananymous
2023-04-25 14:49:50 +03:00
-
dc0f8b383f
Kernel: Usespace threads now have an interrupt stack
Bananymous
2023-04-25 14:48:58 +03:00
-
f1a0625b61
Kernel: TSS stack can be set after initialization
Bananymous
2023-04-25 14:48:12 +03:00
-
02b961fd7e
Kernel: Stack pointer out of bounds now panics with a message
Bananymous
2023-04-25 13:40:55 +03:00
-
1d42b26fce
LibC: Fix some bugs
Bananymous
2023-04-25 13:22:33 +03:00
-
6e01e04922
Kernel: Fix bug in Process::create_userspace()
Bananymous
2023-04-25 13:21:28 +03:00
-
79812b34b0
LibC: fread() now does a single syscall
Bananymous
2023-04-25 12:38:08 +03:00
-
b7c2ea8d46
Kernel: Fix possible dead lock in Process::read()
Bananymous
2023-04-23 14:46:18 +03:00
-
cd74b2167d
LibC: Write mostly functioning stdio
Bananymous
2023-04-23 14:32:37 +03:00
-
9b2a577fc3
Kernel: Add ASSERTion to Process::exit()
Bananymous
2023-04-22 19:05:27 +03:00
-
2dd09163e6
Kernel: Process can now load 32 bit elf files on i386
Bananymous
2023-04-22 19:03:30 +03:00
-
850ff93940
LibELF: Add 32 bit support
Bananymous
2023-04-22 18:57:24 +03:00
-
fb6add2b4a
Kernel: Fix 32 bit MMU
Bananymous
2023-04-22 18:22:39 +03:00
-
48445f12ac
Kernel: More proper paging in Elf loading
Bananymous
2023-04-22 18:17:44 +03:00
-
792fad2a03
Kernel: d{print,warn,error}ln(...) now has a spinlock
Bananymous
2023-04-22 17:58:51 +03:00
-
cc04990ce3
Kernel: Process now frees up its pages on destruction
Bananymous
2023-04-22 16:54:46 +03:00
-
7530482cc2
Kernel: Cleanup process creation for userspace
Bananymous
2023-04-22 16:43:44 +03:00
-
33d8c518e9
Kernel: Fix some deadlocks in the Process
Bananymous
2023-04-22 15:46:23 +03:00
-
e0ce2394fe
Kernel: Remove obsolete userspace stuff from kernel
Bananymous
2023-04-22 15:37:45 +03:00
-
fadce063a7
Kernel: Usespace programs are now ran through ELF files
Bananymous
2023-04-22 15:35:32 +03:00
-
ef0263e32d
LibELF: Header printing can now be turned off
Bananymous
2023-04-22 15:34:09 +03:00
-
4588e25d27
LibELF: ELF now has methods for accessing more attributes
Bananymous
2023-04-22 15:31:05 +03:00
-
ff8c0086e2
LibC: puts() now just calls syscall(SYS_WRITE, ...)
Bananymous
2023-04-22 15:29:38 +03:00
-
dc1b7cf08f
LibC: syscalls have now proper argument order
Bananymous
2023-04-22 15:29:15 +03:00