mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Add addrenv.h; First cut at Cortex-A address environment structures; Add configuration options to setup address enviornment
This commit is contained in:
@@ -88,7 +88,7 @@ static inline int exec_dtors(FAR struct binary_s *binp)
|
||||
{
|
||||
binfmt_dtor_t *dtor = binp->dtors;
|
||||
#ifdef CONFIG_ARCH_ADDRENV
|
||||
hw_addrenv_t oldenv;
|
||||
save_addrenv_t oldenv;
|
||||
int ret;
|
||||
#endif
|
||||
int i;
|
||||
|
||||
@@ -89,7 +89,7 @@ int nxflat_addrenv_alloc(FAR struct nxflat_loadinfo_s *loadinfo, size_t envsize)
|
||||
FAR struct dspace_s *dspace;
|
||||
#ifdef CONFIG_ARCH_ADDRENV
|
||||
FAR void *vaddr;
|
||||
hw_addrenv_t oldenv;
|
||||
save_addrenv_t oldenv;
|
||||
int ret;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user