Changeset 331 for EcnlProtoTool/trunk/asp3_dcre/utils/gentest.rb
- Timestamp:
- Jan 21, 2018, 12:10:09 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/asp3_dcre/utils/gentest.rb
r321 r331 124 124 when /^OVR$/ 125 125 @count_var = "overrun_count" 126 when /^ISR([0-9]*)$/ 127 @count_var = "isr#{$1}_count" 128 when /^INTHDR([0-9]*)$/ 129 @count_var = "inthdr#{$1}_count" 126 130 when /^CPUEXC([0-9]*)$/ 127 131 @count_var = "cpuexc#{$1}_count" … … 187 191 print("\nvoid\n") 188 192 print("overrun_handler(ID tskid, intptr_t exinf)\n") 193 when /^ISR([0-9]*)$/ 194 print("\nvoid\n") 195 print("isr#{$1}(intptr_t exinf)\n") 196 when /^INTHDR([0-9]*)$/ 197 print("\nvoid\n") 198 print("inthdr#{$1}_handler(void)\n") 189 199 when /^CPUEXC([0-9]*)$/ 190 200 print("\nvoid\n")
Note:
See TracChangeset
for help on using the changeset viewer.