Commit Graph

  • 345a37962e meta: move photon/libc to root main Max Wash 2026-02-08 20:45:25 +00:00
  • f00e74260d Implemented assert() Max Wash 2022-06-16 14:17:32 +01:00
  • 29ff102f3b Replaced LAUNCH_INHERIT_NS with LAUNCH_SET_NS, which has the opposite effect Max Wash 2022-05-31 15:17:19 +01:00
  • ebeae9d423 Added some error messages to heap management code Max Wash 2022-05-31 15:17:00 +01:00
  • 1fdd5f1be4 Adjusted abort() message Max Wash 2022-05-26 14:09:23 +01:00
  • c952d9cad4 Renamed struct cleanup to struct launch_ctx Max Wash 2022-05-26 11:53:27 +01:00
  • 4bbf10e7ef launch() now sends the stdio handles to the interpreter automatically Max Wash 2022-05-26 11:48:32 +01:00
  • 659d196d60 abort() message now includes the process ID Max Wash 2022-05-26 11:48:28 +01:00
  • e1753d6c06 Implemented getpid() and gettid() Max Wash 2022-05-26 11:48:14 +01:00
  • 8fc4d45edb Implemented nanosleep() Max Wash 2022-05-26 11:47:10 +01:00
  • 745dbb042e Introducing the program launching mega-function: launch() Max Wash 2022-05-24 21:34:30 +01:00
  • c37b591d33 Heap initialisation failure now results in abort() being called Max Wash 2022-05-24 21:34:06 +01:00
  • 973b8255ae Added support for integrating dynamic linker into libc Max Wash 2022-05-22 21:31:04 +01:00
  • 912ee45cd3 Implemented perror() and strerror() Max Wash 2022-05-17 21:45:37 +01:00
  • 7b5edf6e8d Implemented buffering int readdir() Max Wash 2022-05-17 20:58:47 +01:00
  • f2bc7348e9 Started implementing namespaces Max Wash 2022-05-15 20:12:22 +01:00
  • 673fbb4d36 Implemented dlfcn functions Max Wash 2022-05-12 20:52:43 +01:00
  • 7adec6fd84 Added namespace support to Horizon bootstrap msg parsing Max Wash 2022-05-12 15:16:08 +01:00
  • 6b136f4e0d Implemented clock_* functions Max Wash 2022-05-12 15:15:54 +01:00
  • b796aa0f62 1 GiB of virtual memory is now reserved for the heap on startup Max Wash 2022-05-11 22:14:59 +01:00
  • f3e2312d35 Implemented fgets() and enhanced IO buffering Max Wash 2022-05-11 22:06:28 +01:00
  • c21902d3e0 Implemented a proper version of strtoul() Max Wash 2022-05-11 22:06:01 +01:00
  • 91e7cf0bd0 Implemented strftime() Max Wash 2022-05-10 20:51:02 +01:00
  • 9172a10a93 Implemented strcat() and strchr() Max Wash 2022-05-10 20:50:43 +01:00
  • ab06fc9f95 Fixed gmtime() returning absolute year values Max Wash 2022-05-10 20:50:16 +01:00
  • 270db317bc Added gmtime() and a placeholder implementation of localtime() Max Wash 2022-05-10 18:34:53 +01:00
  • 952af7e7f9 Added time() and clock() Max Wash 2022-05-10 18:25:11 +01:00
  • 668ca0ca5f Need to get filesystem constants from horizon.io Max Wash 2022-04-30 12:46:15 +01:00
  • eb0c90369a Added stub implementations for dl*() functions Max Wash 2022-02-27 17:03:15 +00:00
  • 6a364d0866 Added a (disabled) implementation of dbg_log() Max Wash 2022-02-06 20:30:44 +00:00
  • 8de49a1491 Implemented strcspn Max Wash 2022-02-04 15:08:10 +00:00
  • 15091303fc Removed fio_write() hack Max Wash 2022-01-09 20:01:41 +00:00
  • 51cebdae2d abort() is now called if a heap mapping fails Max Wash 2022-01-09 20:01:12 +00:00
  • 794311a0d5 Implemented dirent.h on Horizon Max Wash 2022-01-08 13:19:58 +00:00
  • 86046975db Fixed a bug in memmove() Max Wash 2022-01-06 11:37:49 +00:00
  • 7f04b67582 Implemented open() and openat() on Horizon Max Wash 2022-01-06 11:37:23 +00:00
  • 27933e1a79 Fixed stdio file descriptors not being initialised properly Max Wash 2021-12-25 22:04:19 +00:00
  • 60a897d464 Implemented fio_read, fio_write, and fio_flush on Horizon Max Wash 2021-12-24 17:18:33 +00:00
  • aac35bcbd3 Horizon init now initialises MIO using bootstrap handles Max Wash 2021-12-24 17:07:38 +00:00
  • 62319ba0d2 Removed some duplicate typedefs Max Wash 2021-12-24 11:14:02 +00:00
  • e770db8ae4 Implemented some POSIX IO functions backed by mio Max Wash 2021-12-24 11:13:08 +00:00
  • ec31b208ab Implemented support for thread-local storage Max Wash 2021-12-23 16:41:53 +00:00
  • bb582e96de Enabled pthread mutexes in dlmalloc Max Wash 2021-11-27 09:11:35 +00:00
  • 927df86afb Removed redundant return statement Max Wash 2021-11-26 19:32:28 +00:00
  • 043a7d4828 Added inttypes.h Max Wash 2021-11-26 19:32:15 +00:00
  • b9160bdff5 Re-enabled sysroot creation Max Wash 2021-11-03 16:32:42 +00:00
  • deb5eb6b1b Sysroot headers can now be built without the build system Max Wash 2021-08-26 13:29:09 +01:00
  • 30085621f6 Re-enabled horizon __crt_init Max Wash 2021-08-26 13:28:39 +01:00
  • 0d746579b5 Re-enabled terminal output hack Max Wash 2021-08-26 13:28:22 +01:00
  • da23bdc56a CRT files will now only be reassembled when necessary Max Wash 2021-08-22 20:06:18 +01:00
  • fdd7f42b55 Added a script to copy all header files into a sysroot Max Wash 2021-08-21 20:37:20 +01:00
  • 8c3f4c2020 Added Horizon target Max Wash 2021-08-15 16:25:15 +01:00
  • ad1b1ec8ea Removed old bundle generation Max Wash 2021-08-15 16:25:09 +01:00
  • 28071cd3c6 Fixed incorrect heap bounds Max Wash 2021-03-11 10:12:33 +00:00
  • ad355938a5 Added stdarg.h Max Wash 2021-03-04 16:52:31 +00:00
  • 2c197ead3e Implemented strtok() Max Wash 2021-02-19 13:54:35 +00:00
  • 2afef81c45 Updated dlmalloc Max Wash 2021-02-19 13:54:28 +00:00
  • 3e64fe8e99 Fixed env var names being cut off in __crt_sys_getenv() Max Wash 2021-01-18 18:44:38 +00:00
  • c01db6f5d9 Moved startup handle storage to Magenta ulib Max Wash 2021-01-16 21:30:19 +00:00
  • 19f3a89e31 Added atexit() to stdlib.g Max Wash 2021-01-16 21:30:06 +00:00
  • 7eb621e409 Re-implemented heap support on magenta Max Wash 2021-01-16 17:26:12 +00:00
  • 4f39858d2a Implemented getenv(), atexit(), number parsing, and more Max Wash 2021-01-12 20:41:01 +00:00
  • f154ff9c0a Added M_HND_TASK_SELF Max Wash 2021-01-05 14:21:34 +00:00
  • 0b8bde25a5 Updated magenta crt stack alignment Max Wash 2021-01-05 14:21:24 +00:00
  • 92250befd3 Implemented rand() and srand() Max Wash 2021-01-03 11:52:47 +00:00
  • d397eac2d9 fputs() no longer prints an extra \n Max Wash 2020-12-21 23:24:04 +00:00
  • 8f0d0a99f7 Added bootstrap message parsing Max Wash 2020-12-21 13:06:40 +00:00
  • 439a18535f photon.framework now supports static and dynamic builds Max Wash 2020-11-24 14:46:24 +00:00
  • 8991e21636 CRT object files are now added using bundle Max Wash 2020-11-23 19:58:07 +00:00
  • f7df90bc0f Framework is now dynamically linked Max Wash 2020-11-05 21:23:34 +00:00
  • 635059acc3 Removed all the old Magenta-specific stuff Max Wash 2020-10-04 12:09:40 +01:00
  • cbef0680a0 Disabled magenta heap functions. Max Wash 2020-09-18 16:45:49 +01:00
  • f68140420f libc is now built with -fPIC Max Wash 2020-09-18 16:43:19 +01:00
  • 6a04b05bad Magenta is becoming a microkernel, so all these file IO functions are now deprecated Max Wash 2020-08-29 20:08:08 +01:00
  • ed2529835c Build system fixes Max Wash 2020-08-24 13:57:36 +01:00
  • 7f08e49fb7 Added file read test Max Wash 2020-08-24 10:22:59 +01:00
  • 93e7d1f389 Fixed linux compatibility Max Wash 2020-08-24 10:20:43 +01:00
  • 9d384d164c Switched to global Bundles.cmake Max Wash 2020-08-23 19:39:19 +01:00
  • cff3723792 Implemented putchar() Max Wash 2020-08-09 15:22:23 +01:00
  • e4674e69e9 New names for Magenta IO functions Max Wash 2020-08-09 15:22:13 +01:00
  • 36751e2f45 Fixed heap size not being incremented Max Wash 2020-08-09 15:21:57 +01:00
  • bd7bd7f5be New syscall ID for mx_task_kill() Max Wash 2020-08-07 20:31:06 +01:00
  • eaa968b98e fputc() fixes Max Wash 2020-08-07 20:30:56 +01:00
  • 37b28d5789 Fixed fopen() not using correct flags for mx_file_open() Max Wash 2020-08-07 16:40:57 +01:00
  • 26acb43236 Renamed mx_open() and mx_stat() Max Wash 2020-08-05 15:01:50 +01:00
  • dd24a26338 Updated mx_task_kill() vector Max Wash 2020-08-05 13:25:43 +01:00
  • 9f2828f06b Updated mx_process_kill() call in crt0 Max Wash 2020-08-01 09:45:25 +01:00
  • 8959f1e0b3 limits.h fixes Max Wash 2020-07-25 20:47:50 +01:00
  • 142662f84c Stub implementations of some wchar functions Max Wash 2020-07-24 10:50:40 +01:00
  • 04ee711f31 *sprintf now returns write count without buffer Max Wash 2020-07-24 10:50:23 +01:00
  • 17ce639206 Implemented fclose() and strrchr() Max Wash 2020-07-18 17:22:20 +01:00
  • 89e40d126b Fixed incorrect call to mx_exit() in _start Max Wash 2020-07-16 17:12:19 +01:00
  • 405e98717b Implemented lots of new functions Max Wash 2020-07-16 14:02:51 +01:00
  • a614cfa25c _start now uses mx_exit() to terminate Max Wash 2020-07-14 19:02:29 +01:00
  • 72e37aa13a Fixed some incorrect definitions Max Wash 2020-07-08 19:10:50 +01:00
  • 1b122fafd2 Removed libmagenta Max Wash 2020-07-08 18:47:29 +01:00
  • c7c6849404 Fixed type mismatch in fputc Max Wash 2020-07-08 15:18:16 +01:00
  • 08df7d7a28 Photon is now built as a framework Max Wash 2020-07-07 18:53:54 +01:00
  • 083f176b84 Removed linux syscall header from sys/magenta Max Wash 2020-05-16 18:45:30 +01:00
  • 2c845b1ae2 Added Magenta heap support Max Wash 2020-05-15 19:30:22 +01:00