| 27 | } |
| 28 | |
| 29 | static struct timestamp_table *timestamp_cache_get(void) |
| 30 | { |
| 31 | struct timestamp_table *ts_cache = NULL; |
| 32 | |
| 33 | if (!ENV_ROMSTAGE_OR_BEFORE) |
| 34 | return NULL; |
| 35 | |
| 36 | if (REGION_SIZE(timestamp) < sizeof(*ts_cache)) { |
| 37 | BUG(); |
| 38 | } else { |
| 39 | ts_cache = (void *)_timestamp; |
| 40 | } |
| 41 | |
| 42 | return ts_cache; |
| 43 | } |
| 44 | |
| 45 | static struct timestamp_table *timestamp_alloc_cbmem_table(void) |
| 46 | { |
no outgoing calls
no test coverage detected