mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
Start working on memory-mapped files.
First of all, change sys$mmap to take a struct SC_mmap_params since our sycsall calling convention can't handle more than 3 arguments. This exposed a bug in Syscall::invoke() needing to use clobber lists. It was a bit confusing to debug. :^)
This commit is contained in:
parent
41a751c90c
commit
fdbd9f1e27
14 changed files with 82 additions and 26 deletions
|
@ -15,6 +15,15 @@ typedef dword size_t;
|
|||
typedef signed_dword ssize_t;
|
||||
|
||||
typedef signed_dword ptrdiff_t;
|
||||
|
||||
typedef byte uint8_t;
|
||||
typedef word uint16_t;
|
||||
typedef dword uint32_t;
|
||||
|
||||
typedef signed_byte int8_t;
|
||||
typedef signed_word int16_t;
|
||||
typedef signed_dword int32_t;
|
||||
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue