~vdupras/duskos

5d294d8c81cb95765fc96ad7c9ad681db18d3d76 — Virgil Dupras 41 minutes ago ab62853 master
posix/vm: fix compilation under cygwin
2 files changed, 2 insertions(+), 1 deletions(-)

M README.md
M posix/vm.c
M README.md => README.md +1 -1
@@ 70,7 70,7 @@ cross-compiled into the kernel.
This peculiarity of Dusk OS has interesting properties. The nicest one, in my
humble opinion, is that this allows us to sidestep the *entire* problems of
binary compatibility and relocation and only deal with source compatibility.
So, no ELF, not binutils, only code that is designed to run from where it was
So, no ELF, no binutils, only code that is designed to run from where it was
written in the first place. This is so much simpler!

Object files? Global symbols? Nah. C functions that don't have a static storage

M posix/vm.c => posix/vm.c +1 -0
@@ 13,6 13,7 @@ The VM is little endian.
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#undef FOPEN // some platforms' fcntl.h define FOPEN which clashes below.

#define MEMSZ 0x100000 // 1MB
#define STACKSZ 0x800