Commit Graph

110 Commits

Author SHA1 Message Date
b796aa0f62 1 GiB of virtual memory is now reserved for the heap on startup 2022-05-11 22:14:59 +01:00
f3e2312d35 Implemented fgets() and enhanced IO buffering 2022-05-11 22:06:28 +01:00
c21902d3e0 Implemented a proper version of strtoul() 2022-05-11 22:06:01 +01:00
91e7cf0bd0 Implemented strftime() 2022-05-10 20:51:02 +01:00
9172a10a93 Implemented strcat() and strchr() 2022-05-10 20:50:43 +01:00
ab06fc9f95 Fixed gmtime() returning absolute year values 2022-05-10 20:50:16 +01:00
270db317bc Added gmtime() and a placeholder implementation of localtime() 2022-05-10 18:34:53 +01:00
952af7e7f9 Added time() and clock() 2022-05-10 18:25:11 +01:00
668ca0ca5f Need to get filesystem constants from horizon.io 2022-04-30 12:46:15 +01:00
eb0c90369a Added stub implementations for dl*() functions 2022-02-27 17:03:15 +00:00
6a364d0866 Added a (disabled) implementation of dbg_log() 2022-02-06 20:30:44 +00:00
8de49a1491 Implemented strcspn 2022-02-04 15:08:10 +00:00
15091303fc Removed fio_write() hack 2022-01-09 20:01:41 +00:00
51cebdae2d abort() is now called if a heap mapping fails 2022-01-09 20:01:12 +00:00
794311a0d5 Implemented dirent.h on Horizon 2022-01-08 13:19:58 +00:00
86046975db Fixed a bug in memmove() 2022-01-06 11:37:49 +00:00
7f04b67582 Implemented open() and openat() on Horizon 2022-01-06 11:37:23 +00:00
27933e1a79 Fixed stdio file descriptors not being initialised properly 2021-12-25 22:04:19 +00:00
60a897d464 Implemented fio_read, fio_write, and fio_flush on Horizon 2021-12-24 17:18:33 +00:00
aac35bcbd3 Horizon init now initialises MIO using bootstrap handles 2021-12-24 17:07:38 +00:00
62319ba0d2 Removed some duplicate typedefs 2021-12-24 11:14:02 +00:00
e770db8ae4 Implemented some POSIX IO functions backed by mio 2021-12-24 11:13:08 +00:00
ec31b208ab Implemented support for thread-local storage 2021-12-23 16:41:53 +00:00
bb582e96de Enabled pthread mutexes in dlmalloc 2021-11-27 09:11:35 +00:00
927df86afb Removed redundant return statement 2021-11-26 19:32:28 +00:00
043a7d4828 Added inttypes.h 2021-11-26 19:32:15 +00:00
b9160bdff5 Re-enabled sysroot creation 2021-11-03 16:32:42 +00:00
deb5eb6b1b Sysroot headers can now be built without the build system 2021-08-26 13:29:09 +01:00
30085621f6 Re-enabled horizon __crt_init 2021-08-26 13:28:39 +01:00
0d746579b5 Re-enabled terminal output hack 2021-08-26 13:28:22 +01:00
da23bdc56a CRT files will now only be reassembled when necessary 2021-08-22 20:06:18 +01:00
fdd7f42b55 Added a script to copy all header files into a sysroot 2021-08-21 20:37:20 +01:00
8c3f4c2020 Added Horizon target 2021-08-15 16:25:15 +01:00
ad1b1ec8ea Removed old bundle generation 2021-08-15 16:25:09 +01:00
Max Wash
28071cd3c6 Fixed incorrect heap bounds 2021-03-11 10:12:33 +00:00
Max Wash
ad355938a5 Added stdarg.h 2021-03-04 16:52:31 +00:00
Max Wash
2c197ead3e Implemented strtok() 2021-02-19 13:54:35 +00:00
Max Wash
2afef81c45 Updated dlmalloc 2021-02-19 13:54:28 +00:00
Max Wash
3e64fe8e99 Fixed env var names being cut off in __crt_sys_getenv() 2021-01-18 18:44:38 +00:00
Max Wash
c01db6f5d9 Moved startup handle storage to Magenta ulib 2021-01-16 21:30:19 +00:00
Max Wash
19f3a89e31 Added atexit() to stdlib.g 2021-01-16 21:30:06 +00:00
Max Wash
7eb621e409 Re-implemented heap support on magenta 2021-01-16 17:26:12 +00:00
Max Wash
4f39858d2a Implemented getenv(), atexit(), number parsing, and more 2021-01-12 20:41:01 +00:00
Max Wash
f154ff9c0a Added M_HND_TASK_SELF 2021-01-05 14:21:34 +00:00
Max Wash
0b8bde25a5 Updated magenta crt stack alignment 2021-01-05 14:21:24 +00:00
Max Wash
92250befd3 Implemented rand() and srand() 2021-01-03 11:52:47 +00:00
Max Wash
d397eac2d9 fputs() no longer prints an extra \n 2020-12-21 23:24:04 +00:00
Max Wash
8f0d0a99f7 Added bootstrap message parsing 2020-12-21 13:06:40 +00:00
Max Wash
439a18535f photon.framework now supports static and dynamic builds 2020-11-24 14:46:24 +00:00
Max Wash
8991e21636 CRT object files are now added using bundle 2020-11-23 19:58:07 +00:00