| 253 | } |
| 254 | |
| 255 | void print_tme(void) |
| 256 | { |
| 257 | #ifndef __DARWIN__ |
| 258 | int tme_supported = is_tme_supported(); |
| 259 | |
| 260 | printf("\n============= Dumping INTEL TME status =============\n"); |
| 261 | |
| 262 | printf("TME supported : %s\n", tme_supported ? "YES" : "NO"); |
| 263 | |
| 264 | if (tme_supported) { |
| 265 | printf("TME locked : %s\n", is_tme_locked() ? "YES" : "NO"); |
| 266 | printf("TME enabled : %s\n", is_tme_enabled() ? "YES" : "NO"); |
| 267 | } |
| 268 | printf("====================================================\n"); |
| 269 | #else |
| 270 | printf("Not Implemented\n"); |
| 271 | #endif |
| 272 | } |
| 273 | |
| 274 | static bool is_keylocker_supported(void) |
| 275 | { |
no test coverage detected