mirror of https://github.com/ARMmbed/mbed-os.git
Merge multiple ARM/ARMC6 sys.cpp into one
parent
1b792d6cd1
commit
39c8d2958c
|
@ -1,32 +0,0 @@
|
||||||
/* mbed Microcontroller Library - stackheap
|
|
||||||
* Copyright (C) 2009-2011 ARM Limited. All rights reserved.
|
|
||||||
*
|
|
||||||
* Setup a fixed single stack/heap memory model,
|
|
||||||
* between the top of the RW/ZI region and the stackpointer
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
|
|
||||||
#include <arm_compat.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <rt_misc.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
extern char Image$$ARM_LIB_STACK$$ZI$$Limit[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$Base[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$ZI$$Limit[];
|
|
||||||
extern __value_in_regs struct __initial_stackheap _mbed_user_setup_stackheap(uint32_t R0, uint32_t R1, uint32_t R2, uint32_t R3) {
|
|
||||||
|
|
||||||
struct __initial_stackheap r;
|
|
||||||
r.heap_base = (uint32_t)Image$$ARM_LIB_HEAP$$Base;
|
|
||||||
r.heap_limit = (uint32_t)Image$$ARM_LIB_HEAP$$ZI$$Limit;
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,32 +0,0 @@
|
||||||
/* mbed Microcontroller Library - stackheap
|
|
||||||
* Copyright (C) 2009-2011 ARM Limited. All rights reserved.
|
|
||||||
*
|
|
||||||
* Setup a fixed single stack/heap memory model,
|
|
||||||
* between the top of the RW/ZI region and the stackpointer
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
|
|
||||||
#include <arm_compat.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <rt_misc.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
extern char Image$$ARM_LIB_STACK$$ZI$$Limit[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$Base[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$ZI$$Limit[];
|
|
||||||
extern __value_in_regs struct __initial_stackheap _mbed_user_setup_stackheap(uint32_t R0, uint32_t R1, uint32_t R2, uint32_t R3) {
|
|
||||||
|
|
||||||
struct __initial_stackheap r;
|
|
||||||
r.heap_base = (uint32_t)Image$$ARM_LIB_HEAP$$Base;
|
|
||||||
r.heap_limit = (uint32_t)Image$$ARM_LIB_HEAP$$ZI$$Limit;
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,32 +0,0 @@
|
||||||
/* mbed Microcontroller Library - stackheap
|
|
||||||
* Copyright (C) 2009-2011 ARM Limited. All rights reserved.
|
|
||||||
*
|
|
||||||
* Setup a fixed single stack/heap memory model,
|
|
||||||
* between the top of the RW/ZI region and the stackpointer
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
|
|
||||||
#include <arm_compat.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <rt_misc.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
extern char Image$$ARM_LIB_STACK$$ZI$$Limit[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$Base[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$ZI$$Limit[];
|
|
||||||
extern __value_in_regs struct __initial_stackheap _mbed_user_setup_stackheap(uint32_t R0, uint32_t R1, uint32_t R2, uint32_t R3) {
|
|
||||||
|
|
||||||
struct __initial_stackheap r;
|
|
||||||
r.heap_base = (uint32_t)Image$$ARM_LIB_HEAP$$Base;
|
|
||||||
r.heap_limit = (uint32_t)Image$$ARM_LIB_HEAP$$ZI$$Limit;
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,32 +0,0 @@
|
||||||
/* mbed Microcontroller Library - stackheap
|
|
||||||
* Copyright (C) 2009-2011 ARM Limited. All rights reserved.
|
|
||||||
*
|
|
||||||
* Setup a fixed single stack/heap memory model,
|
|
||||||
* between the top of the RW/ZI region and the stackpointer
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
|
|
||||||
#include <arm_compat.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <rt_misc.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
extern char Image$$ARM_LIB_STACK$$ZI$$Limit[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$Base[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$ZI$$Limit[];
|
|
||||||
extern __value_in_regs struct __initial_stackheap _mbed_user_setup_stackheap(uint32_t R0, uint32_t R1, uint32_t R2, uint32_t R3) {
|
|
||||||
|
|
||||||
struct __initial_stackheap r;
|
|
||||||
r.heap_base = (uint32_t)Image$$ARM_LIB_HEAP$$Base;
|
|
||||||
r.heap_limit = (uint32_t)Image$$ARM_LIB_HEAP$$ZI$$Limit;
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,32 +0,0 @@
|
||||||
/* mbed Microcontroller Library - stackheap
|
|
||||||
* Copyright (C) 2009-2011 ARM Limited. All rights reserved.
|
|
||||||
*
|
|
||||||
* Setup a fixed single stack/heap memory model,
|
|
||||||
* between the top of the RW/ZI region and the stackpointer
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
|
|
||||||
#include <arm_compat.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <rt_misc.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
extern char Image$$ARM_LIB_STACK$$ZI$$Limit[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$Base[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$ZI$$Limit[];
|
|
||||||
extern __value_in_regs struct __initial_stackheap _mbed_user_setup_stackheap(uint32_t R0, uint32_t R1, uint32_t R2, uint32_t R3) {
|
|
||||||
|
|
||||||
struct __initial_stackheap r;
|
|
||||||
r.heap_base = (uint32_t)Image$$ARM_LIB_HEAP$$Base;
|
|
||||||
r.heap_limit = (uint32_t)Image$$ARM_LIB_HEAP$$ZI$$Limit;
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,32 +0,0 @@
|
||||||
/* mbed Microcontroller Library - stackheap
|
|
||||||
* Copyright (C) 2009-2011 ARM Limited. All rights reserved.
|
|
||||||
*
|
|
||||||
* Setup a fixed single stack/heap memory model,
|
|
||||||
* between the top of the RW/ZI region and the stackpointer
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
|
|
||||||
#include <arm_compat.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <rt_misc.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
extern char Image$$ARM_LIB_STACK$$ZI$$Limit[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$Base[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$ZI$$Limit[];
|
|
||||||
extern __value_in_regs struct __initial_stackheap _mbed_user_setup_stackheap(uint32_t R0, uint32_t R1, uint32_t R2, uint32_t R3) {
|
|
||||||
|
|
||||||
struct __initial_stackheap r;
|
|
||||||
r.heap_base = (uint32_t)Image$$ARM_LIB_HEAP$$Base;
|
|
||||||
r.heap_limit = (uint32_t)Image$$ARM_LIB_HEAP$$ZI$$Limit;
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,32 +0,0 @@
|
||||||
/* mbed Microcontroller Library - stackheap
|
|
||||||
* Copyright (C) 2009-2011 ARM Limited. All rights reserved.
|
|
||||||
*
|
|
||||||
* Setup a fixed single stack/heap memory model,
|
|
||||||
* between the top of the RW/ZI region and the stackpointer
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
|
|
||||||
#include <arm_compat.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <rt_misc.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
extern char Image$$ARM_LIB_STACK$$ZI$$Limit[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$Base[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$ZI$$Limit[];
|
|
||||||
extern __value_in_regs struct __initial_stackheap _mbed_user_setup_stackheap(uint32_t R0, uint32_t R1, uint32_t R2, uint32_t R3) {
|
|
||||||
|
|
||||||
struct __initial_stackheap r;
|
|
||||||
r.heap_base = (uint32_t)Image$$ARM_LIB_HEAP$$Base;
|
|
||||||
r.heap_limit = (uint32_t)Image$$ARM_LIB_HEAP$$ZI$$Limit;
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,32 +0,0 @@
|
||||||
/* mbed Microcontroller Library - stackheap
|
|
||||||
* Copyright (C) 2009-2011 ARM Limited. All rights reserved.
|
|
||||||
*
|
|
||||||
* Setup a fixed single stack/heap memory model,
|
|
||||||
* between the top of the RW/ZI region and the stackpointer
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
|
|
||||||
#include <arm_compat.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <rt_misc.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
extern char Image$$ARM_LIB_STACK$$ZI$$Limit[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$Base[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$ZI$$Limit[];
|
|
||||||
extern __value_in_regs struct __initial_stackheap _mbed_user_setup_stackheap(uint32_t R0, uint32_t R1, uint32_t R2, uint32_t R3) {
|
|
||||||
|
|
||||||
struct __initial_stackheap r;
|
|
||||||
r.heap_base = (uint32_t)Image$$ARM_LIB_HEAP$$Base;
|
|
||||||
r.heap_limit = (uint32_t)Image$$ARM_LIB_HEAP$$ZI$$Limit;
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,32 +0,0 @@
|
||||||
/* mbed Microcontroller Library - stackheap
|
|
||||||
* Copyright (C) 2009-2011 ARM Limited. All rights reserved.
|
|
||||||
*
|
|
||||||
* Setup a fixed single stack/heap memory model,
|
|
||||||
* between the top of the RW/ZI region and the stackpointer
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
|
|
||||||
#include <arm_compat.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <rt_misc.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
extern char Image$$ARM_LIB_STACK$$ZI$$Limit[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$Base[];
|
|
||||||
extern char Image$$ARM_LIB_HEAP$$ZI$$Limit[];
|
|
||||||
extern __value_in_regs struct __initial_stackheap _mbed_user_setup_stackheap(uint32_t R0, uint32_t R1, uint32_t R2, uint32_t R3) {
|
|
||||||
|
|
||||||
struct __initial_stackheap r;
|
|
||||||
r.heap_base = (uint32_t)Image$$ARM_LIB_HEAP$$Base;
|
|
||||||
r.heap_limit = (uint32_t)Image$$ARM_LIB_HEAP$$ZI$$Limit;
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue