2017-08-08 11:56:50 +08:00
|
|
|
/*
|
2021-03-17 02:26:35 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2017-08-08 11:56:50 +08:00
|
|
|
*
|
2018-10-22 11:02:14 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2017-08-08 11:56:50 +08:00
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2013-05-19 Bernard The first version for LPC40xx
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __DRV_SRAM_H__
|
|
|
|
#define __DRV_SRAM_H__
|
|
|
|
|
|
|
|
void sram_init(void);
|
|
|
|
|
|
|
|
void *sram_malloc(unsigned long nbytes);
|
|
|
|
void sram_free(void *ptr);
|
|
|
|
void *sram_realloc(void *ptr, unsigned long nbytes);
|
|
|
|
|
|
|
|
#endif
|