about summary refs log tree commit diff stats
path: root/subx/020syscalls.cc
Commit message (Collapse)AuthorAgeFilesLines
* 4665Kartik Agaram2018-10-051-11/+11
| | | | | Some syscalls expect null-terminated strings while others get lengths. Be clear about this distinction.
* 4648Kartik Agaram2018-10-011-0/+1
|
* 4619 - new syscall: mmap()Kartik Agaram2018-09-291-0/+17
|
* 4614 - redo simulated RAMKartik Agaram2018-09-291-14/+1
| | | | | | | | | | | Now simulated 'Memory' isn't just a single flat array. Instead it knows about segments and VMAs. The code segment will always be first, and the data/heap segment will always be second. The brk() syscall knows about the data segment. One nice side-effect is that I no longer need to mess with Memory initialization regardless of where I place my segments.
* 4613Kartik Agaram2018-09-291-1/+1
|
* 4552Kartik Agaram2018-09-201-6/+13
| | | | | More useful trace if we mess up args to a syscall and pass a non-pointer where a pointer is expected.
* 4522Kartik Agaram2018-08-141-3/+3
| | | | Don't use trace infrastructure if you're just going to immediately exit.
* 4520 - several syscalls for filesKartik Agaram2018-08-131-0/+78
|
* 4469Kartik Agaram2018-08-031-0/+32