Commit Graph

50 Commits

Author SHA1 Message Date
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
Ali Mashtizadeh
582f83ca54 Rename userlevel system call wrappers 2015-01-02 14:04:14 -08:00
Ali Mashtizadeh
266dfcc857 Basic time functions and fix time system call 2014-12-30 17:54:42 -08:00
Ali Mashtizadeh
4dde777570 Brought in my temporary printf to cleanup the shell 2014-12-05 18:33:29 -08:00
Ali Mashtizadeh
39562233bf Support opening, reading and stating files from userlevel 2014-12-05 00:25:20 -08:00
Ali Mashtizadeh
44195fd034 Fix TSS kernel stack pointer switching 2014-11-29 15:46:17 -08:00
Ali Mashtizadeh
8826ed6396 Exposing SystemSpawn in libc and adding skeleton for basic shell. 2014-11-25 22:24:54 -08:00
Ali Mashtizadeh
1b82af5c11 Wrappers for mman operations 2014-10-15 15:19:17 -07:00
Ali Mashtizadeh
c39c558da0 C compat issues 2014-10-15 02:10:46 -07:00
Ali Mashtizadeh
3fc2949c5c Basic stdio.h support working 2014-10-14 19:07:19 -07:00
Ali Mashtizadeh
ed48a8b1b4 Partial implementation of some of libc's FILE operations 2014-10-14 18:00:14 -07:00
Ali Mashtizadeh
331b8aba6e Implement support for Console IO 2014-10-14 16:24:47 -07:00
Ali Mashtizadeh
7c0d1cae67 Posix compat work 2014-10-14 12:39:26 -07:00
Ali Mashtizadeh
173e699a8e Working on libc 2014-09-04 18:22:04 -07:00
Ali Mashtizadeh
2611795d6f Implementing and testing a few system calls 2014-08-07 17:58:41 -07:00
Ali Mashtizadeh
0dd593fff2 User space working 2014-07-27 17:09:31 -07:00