or1k: Add missing initialization of impure ptr
* or1k/impure.c: Fix initialization of impure ptr
This commit is contained in:
parent
569c0eb731
commit
d4aa267089
|
@ -1,3 +1,7 @@
|
|||
2015-05-26 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
|
||||
|
||||
* or1k/impure.c: Fix initialization of impure ptr
|
||||
|
||||
2015-05-26 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
|
||||
|
||||
* or1k/boards/optimsoc.S: Heap for gzll kernel
|
||||
|
|
|
@ -94,6 +94,9 @@ _or1k_libc_impure_init (void)
|
|||
_REENT_INIT_PTR (_impure_ptr);
|
||||
_REENT_INIT_PTR (_or1k_exception_impure_ptr);
|
||||
|
||||
// Use the standard impure ptr during normal software run
|
||||
_or1k_impure_ptr = _impure_ptr;
|
||||
|
||||
// Set current to standard impure pointer
|
||||
_or1k_current_impure_ptr = _impure_ptr;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue