Removed unused fields.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16264 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
50788ad089
commit
4829b3e87e
|
@ -325,14 +325,6 @@ struct sb_class {
|
||||||
* @brief Reference to sh SB thread while waiting for VRQs.
|
* @brief Reference to sh SB thread while waiting for VRQs.
|
||||||
*/
|
*/
|
||||||
thread_reference_t vrq_trp;
|
thread_reference_t vrq_trp;
|
||||||
/**
|
|
||||||
* @brief NVIC ISER to be updated on VRQ exit or NULL.
|
|
||||||
*/
|
|
||||||
uint32_t *vrq_nvic_iser;
|
|
||||||
/**
|
|
||||||
* @brief NVIC ISER mask to be applied on VRQ exit.
|
|
||||||
*/
|
|
||||||
uint32_t vrq_nvic_mask;
|
|
||||||
#endif
|
#endif
|
||||||
#if (SB_CFG_ENABLE_VFS == TRUE) || defined(__DOXYGEN__)
|
#if (SB_CFG_ENABLE_VFS == TRUE) || defined(__DOXYGEN__)
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -365,11 +365,6 @@ void sb_fastc_vrq_return(struct port_extctx *ectxp) {
|
||||||
sb_class_t *sbp = (sb_class_t *)chThdGetSelfX()->ctx.syscall.p;
|
sb_class_t *sbp = (sb_class_t *)chThdGetSelfX()->ctx.syscall.p;
|
||||||
sb_vrqmask_t active_mask;
|
sb_vrqmask_t active_mask;
|
||||||
|
|
||||||
/* Checking if there are IRQs to be re-enabled on VRQ exit.*/
|
|
||||||
if (sbp->vrq_nvic_iser != NULL) {
|
|
||||||
*sbp->vrq_nvic_iser = sbp->vrq_nvic_mask;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Discarding the return current context, returning on the previous one.
|
/* Discarding the return current context, returning on the previous one.
|
||||||
TODO: Check for overflows????*/
|
TODO: Check for overflows????*/
|
||||||
ectxp++;
|
ectxp++;
|
||||||
|
|
Loading…
Reference in New Issue