2
0

redox.h 450 B

123456789101112131415161718192021222324
  1. #ifndef _SYS_REDOX_H
  2. #define _SYS_REDOX_H
  3. #include <sys/types.h>
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. #ifdef __redox__
  8. ssize_t redox_fpath(int fd, void * buf, size_t count);
  9. void * redox_physalloc(size_t size);
  10. int redox_physfree(void * physical_address, size_t size);
  11. void * redox_physmap(void * physical_address, size_t size, int flags);
  12. int redox_physunmap(void * virtual_address);
  13. #endif
  14. #ifdef __cplusplus
  15. } // extern "C"
  16. #endif
  17. #endif