ioremap.h 622 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (c) 2006-2020, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2021-05-06 Jesven first version
  9. */
  10. #ifndef __IOREMAP_H__
  11. #define __IOREMAP_H__
  12. #include <stddef.h>
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. void *rt_ioremap(void *paddr, size_t size);
  17. void *rt_ioremap_nocache(void *paddr, size_t size);
  18. void *rt_ioremap_cached (void *paddr, size_t size);
  19. void rt_iounmap(volatile void *addr);
  20. extern void *rt_ioremap_start;
  21. extern size_t rt_ioremap_size;
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif /*__LWP_IOREMAP_H__*/