This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Hoernchen gerrit-no-reply at lists.osmocom.orgHoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/26399 )
Change subject: slot fsm: rearrange fsm cb events to make debugging easier
......................................................................
slot fsm: rearrange fsm cb events to make debugging easier
Change-Id: Idcf076ffbc3fd7698b49b611ac8057939105415b
---
M ccid_common/ccid_slot_fsm.c
1 file changed, 9 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/99/26399/1
diff --git a/ccid_common/ccid_slot_fsm.c b/ccid_common/ccid_slot_fsm.c
index 8dccfa5..f77081b 100644
--- a/ccid_common/ccid_slot_fsm.c
+++ b/ccid_common/ccid_slot_fsm.c
@@ -148,6 +148,10 @@
/* continues in iso_fsm_clot_user_cb once ATR is received */
}
+#ifndef __NOP()
+#define __NOP()
+#endif
+
static void iso_fsm_clot_user_cb(struct osmo_fsm_inst *fi, int event, int cause, void *data)
{
struct iso_fsm_slot *ss = iso7816_fsm_get_user_priv(fi);
@@ -159,14 +163,16 @@
case ISO7816_E_HW_ERR_IND:
card_uart_ctrl(ss->cuart, CUART_CTL_NO_RXTX, true);
break;
- case ISO7816_E_ATR_DONE_IND:
case ISO7816_E_ATR_ERR_IND:
- case ISO7816_E_TPDU_DONE_IND:
case ISO7816_E_TPDU_FAILED_IND:
- case ISO7816_E_PPS_DONE_IND:
case ISO7816_E_PPS_FAILED_IND:
case ISO7816_E_PPS_UNSUPPORTED_IND:
case ISO7816_E_WTIME_EXP:
+ __NOP();
+ /* no break */
+ case ISO7816_E_ATR_DONE_IND:
+ case ISO7816_E_TPDU_DONE_IND:
+ case ISO7816_E_PPS_DONE_IND:
cs->event_data = data;
#ifdef OCTSIMFWBUILD
asm volatile("dmb st": : :"memory");
--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/26399
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: Idcf076ffbc3fd7698b49b611ac8057939105415b
Gerrit-Change-Number: 26399
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211127/2eb6d6dc/attachment.htm>