RISC-V work in progress:

+ Initialise task stack.
    + Successfully jump to start of first task.
This commit is contained in:
Richard Barry 2018-09-10 20:50:05 +00:00
parent 0c0f0d0f8f
commit b11eb3a59c
2 changed files with 105 additions and 6 deletions

View file

@ -1,5 +1,5 @@
/*
* FreeRTOS Kernel V10.1.0
* FreeRTOS Kernel V10.1.1
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
@ -70,7 +70,8 @@ not need to be guarded with a critical section. */
/* Scheduler utilities. */
#define portYIELD()
extern void vPortYield( void );
#define portYIELD() vPortYield()
#define portEND_SWITCHING_ISR( xSwitchRequired ) if( xSwitchRequired ) vPortYield()
#define portYIELD_FROM_ISR( x ) portEND_SWITCHING_ISR( x )
/*-----------------------------------------------------------*/