)]}'
{"src/target/armv7m.c":[{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"tomas.vanek.oocd@gmail.com","username":"vanekt"},"change_message_id":"a46d4c2e54dec46f3d0c0cc3f6a8d58b68758423","unresolved":false,"context_lines":[{"line_number":295,"context_line":""},{"line_number":296,"context_line":"\tcase ARMV7M_PRIMASK...ARMV7M_CONTROL:"},{"line_number":297,"context_line":"\t\t*reg32_id \u003d ARMV7M_PMSK_BPRI_FLTMSK_CTRL;"},{"line_number":298,"context_line":"\t\t*offset \u003d arm_reg_id - ARMV7M_PRIMASK;"},{"line_number":299,"context_line":"\t\treturn true;"},{"line_number":300,"context_line":"\tcase ARMV8M_PRIMASK_S...ARMV8M_CONTROL_S:"},{"line_number":301,"context_line":"\t\t*reg32_id \u003d ARMV8M_PMSK_BPRI_FLTMSK_CTRL_S;"}],"source_content_type":"text/x-csrc","patch_set":2,"id":"aedf27f1_d5d66cc8","line":298,"range":{"start_line":298,"start_character":12,"end_line":298,"end_character":39},"updated":"2021-04-23 08:35:09.000000000","message":"This works until somebody changes the order of registers in the enum/table. I admit I was temped to do this way... I decided to use the longer but foolproof solution.\n\nOk, let\u0027s use the new code. Please add comments to the enum and register table stating the order is important.","commit_id":"ddc15b4e0761b5d65bdd5b3e973b417f8c27c26a"},{"author":{"_account_id":1000863,"name":"Tarek BOCHKATI","email":"tarek.bouchkati@gmail.com","username":"BouchkatiTarek"},"change_message_id":"a0a1e657d87764303245cfd26217821505c07bbc","unresolved":false,"context_lines":[{"line_number":295,"context_line":""},{"line_number":296,"context_line":"\tcase ARMV7M_PRIMASK...ARMV7M_CONTROL:"},{"line_number":297,"context_line":"\t\t*reg32_id \u003d ARMV7M_PMSK_BPRI_FLTMSK_CTRL;"},{"line_number":298,"context_line":"\t\t*offset \u003d arm_reg_id - ARMV7M_PRIMASK;"},{"line_number":299,"context_line":"\t\treturn true;"},{"line_number":300,"context_line":"\tcase ARMV8M_PRIMASK_S...ARMV8M_CONTROL_S:"},{"line_number":301,"context_line":"\t\t*reg32_id \u003d ARMV8M_PMSK_BPRI_FLTMSK_CTRL_S;"}],"source_content_type":"text/x-csrc","patch_set":2,"id":"aedf27f1_185429c9","line":298,"range":{"start_line":298,"start_character":12,"end_line":298,"end_character":39},"in_reply_to":"aedf27f1_d5d66cc8","updated":"2021-04-26 12:20:46.000000000","message":"agree, I was hesitant to do it like this, but the switch case length will be multiplied by 3.\nso let\u0027s use this simplification, and add \"danger\" warnings everywhere.","commit_id":"ddc15b4e0761b5d65bdd5b3e973b417f8c27c26a"}],"src/target/armv7m.h":[{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"tomas.vanek.oocd@gmail.com","username":"vanekt"},"change_message_id":"a46d4c2e54dec46f3d0c0cc3f6a8d58b68758423","unresolved":false,"context_lines":[{"line_number":139,"context_line":"\tARMV7M_PSP \u003d ARMV7M_REGSEL_PSP,"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"\t/* following indices are arbitrary, do not match DCRSR.REGSEL selectors */"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"\t/* working register for packing/unpacking special regs, hidden from gdb */"},{"line_number":144,"context_line":"\tARMV7M_PMSK_BPRI_FLTMSK_CTRL,"},{"line_number":145,"context_line":""}],"source_content_type":"text/x-csrc","patch_set":2,"id":"aedf27f1_f5d370d5","line":142,"updated":"2021-04-23 08:35:09.000000000","message":"Let\u0027s put something like this\n\n/* A block of container and contained registers follows: THE ORDER IS IMPORTANT to the end of the block! */\n\nThe container must precede the contained regs, so the order is important from the container on.","commit_id":"ddc15b4e0761b5d65bdd5b3e973b417f8c27c26a"},{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"tomas.vanek.oocd@gmail.com","username":"vanekt"},"change_message_id":"a46d4c2e54dec46f3d0c0cc3f6a8d58b68758423","unresolved":false,"context_lines":[{"line_number":153,"context_line":"\tARMV7M_BASEPRI,"},{"line_number":154,"context_line":"\tARMV7M_FAULTMASK,"},{"line_number":155,"context_line":"\tARMV7M_CONTROL,"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"\t/* ARMv8-M specific registers */"},{"line_number":158,"context_line":"\tARMV8M_MSP_NS,"},{"line_number":159,"context_line":"\tARMV8M_PSP_NS,"}],"source_content_type":"text/x-csrc","patch_set":2,"id":"aedf27f1_95e0e494","line":156,"updated":"2021-04-23 08:35:09.000000000","message":"/* The end of the block of container and contained registers */","commit_id":"ddc15b4e0761b5d65bdd5b3e973b417f8c27c26a"},{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"tomas.vanek.oocd@gmail.com","username":"vanekt"},"change_message_id":"a46d4c2e54dec46f3d0c0cc3f6a8d58b68758423","unresolved":false,"context_lines":[{"line_number":164,"context_line":"\tARMV8M_MSPLIM_NS,"},{"line_number":165,"context_line":"\tARMV8M_PSPLIM_NS,"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"\tARMV8M_PMSK_BPRI_FLTMSK_CTRL_S,"},{"line_number":168,"context_line":"\tARMV8M_PRIMASK_S,"},{"line_number":169,"context_line":"\tARMV8M_BASEPRI_S,"},{"line_number":170,"context_line":"\tARMV8M_FAULTMASK_S,"}],"source_content_type":"text/x-csrc","patch_set":2,"id":"aedf27f1_b5dde8e3","line":167,"updated":"2021-04-23 08:35:09.000000000","message":"Here as well with a reference to ARMV7M_PRIMASK","commit_id":"ddc15b4e0761b5d65bdd5b3e973b417f8c27c26a"},{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"tomas.vanek.oocd@gmail.com","username":"vanekt"},"change_message_id":"a46d4c2e54dec46f3d0c0cc3f6a8d58b68758423","unresolved":false,"context_lines":[{"line_number":170,"context_line":"\tARMV8M_FAULTMASK_S,"},{"line_number":171,"context_line":"\tARMV8M_CONTROL_S,"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"\tARMV8M_PMSK_BPRI_FLTMSK_CTRL_NS,"},{"line_number":174,"context_line":"\tARMV8M_PRIMASK_NS,"},{"line_number":175,"context_line":"\tARMV8M_BASEPRI_NS,"},{"line_number":176,"context_line":"\tARMV8M_FAULTMASK_NS,"}],"source_content_type":"text/x-csrc","patch_set":2,"id":"aedf27f1_55ea7c74","line":173,"updated":"2021-04-23 08:35:09.000000000","message":"Same here","commit_id":"ddc15b4e0761b5d65bdd5b3e973b417f8c27c26a"}]}
