Commit Graph

51 Commits

Author SHA1 Message Date
Ali Mashtizadeh
c4f5deba68 Add EACCES errno 2023-08-21 17:00:37 -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
9219d330e9 Expose the per-thread errno variable 2015-12-16 17:38:31 -08:00
Ali Mashtizadeh
afd9cdc068 Adding sysctl command line tool 2015-11-15 15:17:18 -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
78afc5e47d Header file improvements to enable compiling lwip 2015-02-02 15:10:15 -08:00
Ali Mashtizadeh
1ceea3c677 Various bugfixes to Thread_Wait and the pthread library 2015-02-02 11:55:34 -08:00
Ali Mashtizadeh
9460089573 pthread tests and assert header bugfix 2015-02-01 23:56:45 -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
9251a3b7cc ethinject and plumbing for transmitting raw network packets. 2015-01-28 11:35:47 -08:00
Ali Mashtizadeh
289412b585 Improving pthread support 2015-01-27 15:01:19 -08:00
Ali Mashtizadeh
dd0a1d5612 Simple ethdump tool based on OSNICRecv 2015-01-27 10:35:20 -08:00
Ali Mashtizadeh
8f24dbe6d0 Plumbing for raw packet reading 2015-01-27 10:34: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
5808a2564d Implemented CopyStrIn/Out to fix bugginess of using CopyIn/Out wrapping passed a mapped page. 2015-01-19 17:57:20 -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
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
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
796a7f0cbb Segment registers and TSS bugfix that caused triple faults. Also includes part of the Spawn system call implementation. 2014-11-26 13:49: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
287b3bc043 C11 and KTime improvements 2014-11-25 00:22:05 -08: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
a8aeb1a3c5 Implement strncmp 2014-10-14 14:07:55 -07:00
Ali Mashtizadeh
7c0d1cae67 Posix compat work 2014-10-14 12:39:26 -07:00
Ali Mashtizadeh
03343a774c Simple slab allocator allocator 2014-09-04 23:26:02 -07:00
Ali Mashtizadeh
2611795d6f Implementing and testing a few system calls 2014-08-07 17:58:41 -07:00
Ali Mashtizadeh
008488413a Implement memcmp 2014-07-31 18:16:08 -07:00
Ali Mashtizadeh
0dd593fff2 User space working 2014-07-27 17:09:31 -07:00
Ali Mashtizadeh
befee0cf6b Debug console working over serial 2014-07-13 14:22:59 -07:00
Ali Mashtizadeh
3c09132308 Implement spinlocks 2014-07-10 15:55:32 -07:00
Ali Mashtizadeh
25ff76e4d7 Fixing warnings and checking AHCI caps 2014-07-06 00:07:32 -07:00
Ali Mashtizadeh
696101f277 AHCI fixes and debugging improvements 2014-07-03 17:36:31 -07:00
Ali Mashtizadeh
255f560351 Basic page mapping, allocator, and PCI code 2014-06-30 15:52:35 -07:00