Commit Graph

65 Commits

Author SHA1 Message Date
Ali Mashtizadeh
ae669bfa83 Buildable skeleton for ARM64 architecture specific code. 2023-10-23 22:28:10 -04:00
Ali Mashtizadeh
cf1adfc2a4 Merge branch 'master' of ssh://review.rcs.uwaterloo.ca:77/source/metal-cos 2023-10-23 22:00:07 -04:00
Ali Mashtizadeh
d1a7bc9020 Rename cpu definitions to cpu.h and cpuop.h 2023-10-23 16:27:55 -04:00
Ali Mashtizadeh
14cc577adf Cleanup to prepare for ARM64 + Metal 2023-10-20 16:57:02 -04:00
Ali Mashtizadeh
7f6b72c963 fix the fgets hack 2023-10-05 12:48:49 -04:00
Ali Mashtizadeh
63f2ae716e Add spawn and wait/waitpid functions into libc. 2023-10-02 19:33:47 -04:00
Ali Mashtizadeh
e2be315cfc Reentrant strtok for kernel debugger 2023-10-01 19:47:26 -04:00
Ali Mashtizadeh
78768d172a Implementing strtok and adding strtok to the shell 2023-10-01 19:36:02 -04:00
Ali Mashtizadeh
56bef77cce Fix backspace emulation in the serial console and in fgets() 2023-09-22 21:07:27 -04:00
Ali Mashtizadeh
8a737aea8e Fix typeo in atoi when copying from kdb 2023-08-21 17:00:18 -04:00
Ali Mashtizadeh
fa2c3487af Add atoi to stdlib 2023-08-20 19:05:08 -04:00
Ali Mashtizadeh
2718379e6d Add argument passing 2023-08-20 19:04:28 -04:00
Ali Mashtizadeh
e261ccdcec Add calloc to libc 2023-08-19 22:14:06 -04:00
Ali Mashtizadeh
04b709f3b3 Cleanup: Disable LWIP and address compiler warnings 2019-07-31 17:30:50 -04:00
Ali Mashtizadeh
506c559dad Updating copyright for files only touched by me 2018-07-05 16:55:21 -04:00
Ali Mashtizadeh
9219d330e9 Expose the per-thread errno variable 2015-12-16 17:38:31 -08:00
Ali Mashtizadeh
7bc8169ff2 Fixing some compiler warnings 2015-12-10 12:21:27 -08:00
Ali Mashtizadeh
c1461694ca Support writing sysctls from userspace 2015-12-01 15:14:17 -08:00
Ali Mashtizadeh
afd9cdc068 Adding sysctl command line tool 2015-11-15 15:17:18 -08:00
Ali Mashtizadeh
2809d233b5 Added a simple crti/n/1 to fix clang compat issues 2015-02-27 15:57:07 -08:00
Ali Mashtizadeh
62d8a63dbb Basic ethernet driver and connected to lwiptest 2015-02-04 14:52:17 -08:00
Ali Mashtizadeh
f067ec6252 Improvements to pthread condition variable code 2015-02-03 14:26:51 -08:00
Ali Mashtizadeh
f0d5e791ba LWIP builds and a simple test app to verify linking. 2015-02-03 14:07:22 -08:00
Ali Mashtizadeh
251654f2c7 More improvements to support lwip 2015-02-03 14:06:17 -08:00
Ali Mashtizadeh
348a7acc15 Moving some definitions from time.h into sys/time.h 2015-02-02 15:29:12 -08:00
Ali Mashtizadeh
d1b8872a48 Import lwip 1.4.1 2015-02-02 14:36:00 -08:00
Ali Mashtizadeh
41ba001828 pthread condition variable tests 2015-02-02 13:13:59 -08:00
Ali Mashtizadeh
1ceea3c677 Various bugfixes to Thread_Wait and the pthread library 2015-02-02 11:55:34 -08:00
Ali Mashtizadeh
87e3cde79b pthread condition variable implementation 2015-02-01 19:21:16 -08:00
Ali Mashtizadeh
d729ee868d Fixing compiler warnings 2015-01-30 23:02:18 -08:00
Ali Mashtizadeh
3e85210410 pthread init and implementing pthread_self 2015-01-30 20:47:32 -08:00
Ali Mashtizadeh
bdb6a08704 CoreMutex cleanup and add to build 2015-01-30 20:44:01 -08:00
Ali Mashtizadeh
8b45f56bf5 Fix mmap and expose gettid system call 2015-01-30 20:43:28 -08:00
Ali Mashtizadeh
2d3d325066 user-level mutex implementation for use by other parts of libc 2015-01-30 18:41:46 -08:00
Ali Mashtizadeh
2fdcc4b557 pthread_mutex implementation 2015-01-30 18:40:25 -08:00
Ali Mashtizadeh
289412b585 Improving pthread support 2015-01-27 15:01:19 -08:00
Ali Mashtizadeh
8f24dbe6d0 Plumbing for raw packet reading 2015-01-27 10:34:44 -08:00
Ali Mashtizadeh
d005029577 Fix sprintf and snprintf to always null terminate 2015-01-27 10:33:44 -08:00
Ali Mashtizadeh
10bf52f68f A simple ifconfig to show a list of NICs and mac addresses 2015-01-23 13:02:31 -08:00
Ali Mashtizadeh
92e5ae902a Fixing bugs in libc 2015-01-23 12:39:35 -08:00
Ali Mashtizadeh
6cc254dd24 Import strcat and strncat from FreeBSD 2015-01-23 12:15:26 -08:00
Ali Mashtizadeh
02c0816e41 Adding wait system call 2015-01-18 15:08:12 -08:00
Ali Mashtizadeh
34c637960a Begin implementing basic pthread functionality. 2015-01-16 20:15:47 -08:00
Ali Mashtizadeh
5a3d86aa7b Implemented OSThreadCreate system call 2015-01-16 17:57:21 -08:00
Ali Mashtizadeh
a01b839b67 Fix bug in KTime_GetEpochNS() 2015-01-16 15:16:44 -08:00
Ali Mashtizadeh
37a8bebd1b Expose POSIX sleep 2015-01-16 14:51:03 -08:00
Ali Mashtizadeh
858f3cff69 Plumbing thread related system calls into user-level 2015-01-14 14:57:47 -08:00
Ali Mashtizadeh
88f4a73df7 Implemented a simple malloc and a few minor fixes 2015-01-04 22:10:37 -08:00
Ali Mashtizadeh
7ecac84809 Enable fprintf for user level asserts. 2015-01-02 16:23:53 -08:00
Ali Mashtizadeh
03061ed968 Fallout from refactoring and readdir wrappers. 2015-01-02 16:13:53 -08:00