1
0

drv_sram.h 597 B

123456789101112131415161718192021222324
  1. /*
  2. * File : sram.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2009-2013 RT-Thread Develop Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2013-05-19 Bernard The first version for LPC40xx
  13. */
  14. #ifndef __DRV_SRAM_H__
  15. #define __DRV_SRAM_H__
  16. void sram_init(void);
  17. void *sram_malloc(unsigned long nbytes);
  18. void sram_free(void *ptr);
  19. void *sram_realloc(void *ptr, unsigned long nbytes);
  20. #endif