Matheus
|
4afca1db07
|
jinx: update mlibc port to have new system calls
|
2022-09-29 18:53:04 -03:00 |
|
Matheus
|
a30c79d951
|
termios: stub
|
2022-09-29 18:51:51 -03:00 |
|
Matheus
|
91a1781ecb
|
syscalls: ioctl
|
2022-09-29 18:04:07 -03:00 |
|
Matheus
|
b8d2d302fa
|
jinx: binutils and nasm port
|
2022-09-27 10:36:01 -03:00 |
|
Matheus
|
e1f29c259d
|
seek: actually act properly
|
2022-09-27 10:35:26 -03:00 |
|
Matheus
|
b3a74baaa4
|
jinx: update mlibc to have new system calls and add TERM=linux to /etc/profile
|
2022-09-24 17:35:59 -03:00 |
|
Matheus
|
9501e727be
|
distro-files: /etc/profile ls colours
|
2022-09-24 17:14:04 -03:00 |
|
Matheus
|
09df11bcc4
|
framebuffer: support another edge case
|
2022-09-24 17:13:43 -03:00 |
|
Matheus
|
f18e099df1
|
syscalls: getdirent
|
2022-09-24 17:13:18 -03:00 |
|
Matheus
|
943e7abf80
|
vfs: getdirent
|
2022-09-24 17:13:03 -03:00 |
|
Matheus
|
ad8ec070be
|
hashtable: get entry by offset
|
2022-09-24 17:12:31 -03:00 |
|
Matheus
|
619b95c7f1
|
framebuffer: handle an edge case
|
2022-09-24 15:15:19 -03:00 |
|
Matheus
|
313abaeb9a
|
misc file bugfixes
|
2022-09-24 14:55:47 -03:00 |
|
Matheus
|
177928d49a
|
framebuffer: initial implementation
|
2022-09-24 14:55:06 -03:00 |
|
Matheus
|
1599890ce9
|
devman: isseekable()
|
2022-09-24 14:54:26 -03:00 |
|
Matheus
|
ad768d0392
|
pseudodevices: initial null, zero and full implementations
|
2022-09-24 00:45:51 -03:00 |
|
Matheus
|
951ecdffe6
|
mlibc port: more stubs and fix fcntl
|
2022-09-24 00:05:48 -03:00 |
|
Matheus
|
9c6d1157d7
|
fs: fix wrong mode on files
|
2022-09-24 00:04:30 -03:00 |
|
Matheus
|
58453f4c60
|
distro files: passwd, profile, shell changes and move hello.sh
|
2022-09-23 22:47:19 -03:00 |
|
Matheus
|
9cca7891b9
|
regs: set up mxcsr properly; arch_regs_firsttimesetup()
|
2022-09-23 21:37:04 -03:00 |
|
Matheus
|
bedd2f625e
|
interrupts: simd exception
|
2022-09-23 21:36:37 -03:00 |
|
Matheus
|
364e620ce9
|
fcntl: F_DUPFD
|
2022-09-23 19:38:26 -03:00 |
|
Matheus
|
9d5a139dcc
|
dup: behave like fd_duplicate expects
|
2022-09-23 19:38:05 -03:00 |
|
Matheus
|
67c9a04d58
|
fd: change allocation to add a lowest fd option
|
2022-09-23 19:37:40 -03:00 |
|
Matheus
|
ff6999aa81
|
mlibc port: add support to the new system calls
|
2022-09-23 00:28:39 -03:00 |
|
Matheus
|
0ececa14b1
|
syscall: update syscall table with new syscalls
|
2022-09-23 00:26:37 -03:00 |
|
Matheus
|
f7fa05acbf
|
syscalls: fcntl stub
|
2022-09-23 00:26:15 -03:00 |
|
Matheus
|
0ab154b051
|
syscalls: getpid
|
2022-09-23 00:26:03 -03:00 |
|
Matheus
|
284def91d3
|
syscalls: dup and dup2
|
2022-09-23 00:25:48 -03:00 |
|
Matheus
|
8f2089f912
|
fd: duplicate and max_fd
|
2022-09-23 00:25:31 -03:00 |
|
Matheus
|
4f470fd023
|
open: handle O_CREAT flag
|
2022-09-22 20:02:21 -03:00 |
|
Matheus
|
b23d4f7c5b
|
mlibc port: libc logs go to stderr now
|
2022-09-22 14:52:39 -03:00 |
|
Matheus
|
7fc34a2e66
|
keyboard: continue the implementation; add shifting support
|
2022-09-22 14:37:27 -03:00 |
|
Matheus
|
1147937837
|
syscalls: make isatty act like posix expects
|
2022-09-22 14:36:55 -03:00 |
|
Matheus
|
76df387199
|
jinx: fix stupid bug in stat
|
2022-09-21 19:47:06 -03:00 |
|
Matheus
|
a247137823
|
jinx: update mlibc to 3.0.0-rc1
|
2022-09-21 17:05:13 -03:00 |
|
Matheus
|
190a57c313
|
lseek: return current position on SEEK_CUR offset 0
|
2022-09-21 16:33:10 -03:00 |
|
Matheus
|
ec67d3fe27
|
syscalls: isatty: act more like mlibc expects
|
2022-09-21 16:32:44 -03:00 |
|
Matheus
|
0b27133826
|
scheduler: actually run /sbin/init now
|
2022-09-20 20:29:16 -03:00 |
|
Matheus
|
4b939dcaab
|
init: initial implementation
|
2022-09-20 20:28:58 -03:00 |
|
Matheus
|
0b7a55361d
|
jinx: update mlibc port to include new system calls
|
2022-09-20 17:43:13 -03:00 |
|
Matheus
|
9ee87d97af
|
Makefile: kclean target
|
2022-09-20 17:15:38 -03:00 |
|
Matheus
|
5e2059c284
|
fd: bugfixes
- add an extra check
- properly set the fd entry in the table to 0 in a refcount > 0 free
- only close the fd node if there's an open node
|
2022-09-20 17:13:37 -03:00 |
|
Matheus
|
4581b460ff
|
syscalls: exit
|
2022-09-20 17:07:58 -03:00 |
|
Matheus
|
ddb224c3c7
|
scheduler: properly open init cwd and root, sched_dequeue()
|
2022-09-20 17:05:46 -03:00 |
|
Matheus
|
d4655a2f6c
|
syscalls: no longer have invalid state after execve error
|
2022-09-20 17:00:30 -03:00 |
|
Matheus
|
44b6b26eb8
|
syscalls: properly free the fd on an open failure
|
2022-09-20 16:59:40 -03:00 |
|
Matheus
|
5f9aba07b2
|
syscalls: fix waitpid's behaviour
|
2022-09-20 16:58:59 -03:00 |
|
Matheus
|
c637995d52
|
syscalls: waitpid
|
2022-09-20 10:44:37 -03:00 |
|
Matheus
|
fe3a5b1a53
|
mlibc port: update sysdeps to have the new syscalls
|
2022-09-20 09:30:25 -03:00 |
|