mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
ARMv7 address environment: Static functions not marked static
This commit is contained in:
@@ -150,13 +150,13 @@ static void set_l2_entry(FAR uint32_t *l2table, uintptr_t paddr,
|
||||
* Name: up_addrenv_create_region
|
||||
*
|
||||
* Description:
|
||||
* Destroy one memory region.
|
||||
* Create one memory region.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int up_addrenv_create_region(FAR uintptr_t **list, unsigned int listlen,
|
||||
uintptr_t vaddr, size_t regionsize,
|
||||
uint32_t mmuflags)
|
||||
static int up_addrenv_create_region(FAR uintptr_t **list,
|
||||
unsigned int listlen, uintptr_t vaddr,
|
||||
size_t regionsize, uint32_t mmuflags)
|
||||
{
|
||||
irqstate_t flags;
|
||||
uintptr_t paddr;
|
||||
@@ -258,8 +258,8 @@ int up_addrenv_create_region(FAR uintptr_t **list, unsigned int listlen,
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void up_addrenv_destroy_region(FAR uintptr_t **list, unsigned int listlen,
|
||||
uintptr_t vaddr)
|
||||
static void up_addrenv_destroy_region(FAR uintptr_t **list,
|
||||
unsigned int listlen, uintptr_t vaddr)
|
||||
{
|
||||
irqstate_t flags;
|
||||
uintptr_t paddr;
|
||||
|
||||
@@ -676,10 +676,10 @@ void up_allocate_pgheap(FAR void **heap_start, size_t *heap_size);
|
||||
*
|
||||
* Description:
|
||||
* If there is a page allocator in the configuration and if and MMU is
|
||||
* available to map physcal addresses to virtual address, then function
|
||||
* available to map physical addresses to virtual address, then function
|
||||
* must be provided by the platform-specific code. This is part of the
|
||||
* implementation of sbrk(). This function will allocate the requested
|
||||
* number of pages using the page allocator and map them into consecuive
|
||||
* number of pages using the page allocator and map them into consecutive
|
||||
* virtual addresses beginning with 'brkaddr'
|
||||
*
|
||||
* NOTE: This function does not use the up_ naming standard because it
|
||||
|
||||
Reference in New Issue
Block a user