diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-07-25 02:52:33 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-07-25 02:52:33 +0200 |
| commit | c1e767700fc14fbe385a9a8d9ad0cfa4d5315c35 (patch) | |
| tree | 41a8b648e48ca58f9edb67ebeda5cd82a0519f6a /tpu.h | |
| parent | d07257c9e92e8697915aaf40070c6228a5855104 (diff) | |
| download | tis100-c1e767700fc14fbe385a9a8d9ad0cfa4d5315c35.tar.gz tis100-c1e767700fc14fbe385a9a8d9ad0cfa4d5315c35.zip | |
Add label support to curses source view
Diffstat (limited to 'tpu.h')
| -rw-r--r-- | tpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -46,6 +46,7 @@ struct label_map_link { }; struct label_map { + char *labels[TPU_MAX_INST]; /* borrowed from label_map_links */ struct label_map_link *buckets[LABEL_MAP_BUCKETS]; }; @@ -83,7 +84,7 @@ struct tpu { uint8_t acc, bak; uint8_t pc; - struct label_map labels; + struct label_map label_map; struct tpu_inst insts[TPU_MAX_INST]; size_t inst_cnt; }; |
