mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 18:18:32 -04:00
Sync up MicroblazeV9 port with Xilinx tree (#220)
* MicroblazeV9: Add support for 64 bit microblaze * MicroblazeV9: Add support for generation of run time task stats * MicroblazeV9: Add default implementation for callback functions --------- Signed-off-by: Mubin Usman Sayyed <mubin.usman.sayyed@xilinx.com>
This commit is contained in:
parent
8e664fc984
commit
5040a67939
6 changed files with 508 additions and 298 deletions
|
@ -67,7 +67,7 @@
|
|||
|
||||
/* This variable is set in the exception entry code, before
|
||||
* vPortExceptionHandler is called. */
|
||||
uint32_t * pulStackPointerOnFunctionEntry = NULL;
|
||||
UINTPTR *pulStackPointerOnFunctionEntry = NULL;
|
||||
|
||||
/* This is the structure that is filled with the MicroBlaze context as it
|
||||
* existed immediately prior to the exception occurrence. A pointer to this
|
||||
|
@ -80,7 +80,6 @@
|
|||
* in portasm.S. */
|
||||
void vPortExceptionHandler( void * pvExceptionID );
|
||||
extern void vPortExceptionHandlerEntry( void * pvExceptionID );
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
/* vApplicationExceptionRegisterDump() is a callback function that the
|
||||
|
@ -149,7 +148,7 @@
|
|||
xRegisterDump.ulR29 = mfgpr( R29 );
|
||||
xRegisterDump.ulR30 = mfgpr( R30 );
|
||||
xRegisterDump.ulR31 = mfgpr( R31 );
|
||||
xRegisterDump.ulR1_SP = ( ( uint32_t ) pulStackPointerOnFunctionEntry ) + portexASM_HANDLER_STACK_FRAME_SIZE;
|
||||
xRegisterDump.ulR1_SP = ( ( UINTPTR ) pulStackPointerOnFunctionEntry ) + portexASM_HANDLER_STACK_FRAME_SIZE;
|
||||
xRegisterDump.ulEAR = mfear();
|
||||
xRegisterDump.ulESR = mfesr();
|
||||
xRegisterDump.ulEDR = mfedr();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue