ioremap.h 540 B

1234567891011121314151617181920212223242526272829
  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. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. void *rt_ioremap(void *paddr, size_t size);
  16. void *rt_ioremap_nocache(void *paddr, size_t size);
  17. void *rt_ioremap_cached(void *paddr, size_t size);
  18. void rt_iounmap(volatile void *addr);
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif /*__LWP_IOREMAP_H__*/