You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
296 B

  1. --- a/io/mmap.c
  2. +++ b/io/mmap.c
  3. @@ -11,6 +11,14 @@
  4. #include "init.h"
  5. #include "io.h"
  6. +#ifndef MAP_SYNC
  7. +#define MAP_SYNC 0
  8. +#endif
  9. +
  10. +#ifndef MAP_SHARED_VALIDATE
  11. +#define MAP_SHARED_VALIDATE 0x03
  12. +#endif
  13. +
  14. static cmdinfo_t mmap_cmd;
  15. static cmdinfo_t mread_cmd;
  16. static cmdinfo_t msync_cmd;