Add port_fixed_stack for more builds
This commit is contained in:
parent
6aaab005c5
commit
3c1469b0a5
@ -318,6 +318,10 @@ void reset_cpu(void) {
|
|||||||
reset();
|
reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
supervisor_allocation* port_fixed_stack(void) {
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
extern uint32_t _ld_heap_start, _ld_heap_end, _ld_stack_top, _ld_stack_bottom;
|
extern uint32_t _ld_heap_start, _ld_heap_end, _ld_stack_top, _ld_stack_bottom;
|
||||||
uint32_t *port_stack_get_limit(void) {
|
uint32_t *port_stack_get_limit(void) {
|
||||||
return &_ld_heap_start;
|
return &_ld_heap_start;
|
||||||
|
@ -185,6 +185,10 @@ uint32_t *port_heap_get_top(void) {
|
|||||||
return port_stack_get_top();
|
return port_stack_get_top();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
supervisor_allocation* port_fixed_stack(void) {
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
uint32_t *port_stack_get_limit(void) {
|
uint32_t *port_stack_get_limit(void) {
|
||||||
return &_ebss;
|
return &_ebss;
|
||||||
}
|
}
|
||||||
|
@ -281,6 +281,10 @@ uint32_t *port_heap_get_top(void) {
|
|||||||
return &_ld_heap_end;
|
return &_ld_heap_end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
supervisor_allocation* port_fixed_stack(void) {
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
uint32_t *port_stack_get_limit(void) {
|
uint32_t *port_stack_get_limit(void) {
|
||||||
return &_ld_stack_bottom;
|
return &_ld_stack_bottom;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user