MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mca_error_request

Function mca_error_request

freebsd/x86/x86/mca.c:309–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309static const char *
310mca_error_request(uint16_t mca_error)
311{
312
313 switch ((mca_error & 0x00f0) >> 4) {
314 case 0x0:
315 return ("ERR");
316 case 0x1:
317 return ("RD");
318 case 0x2:
319 return ("WR");
320 case 0x3:
321 return ("DRD");
322 case 0x4:
323 return ("DWR");
324 case 0x5:
325 return ("IRD");
326 case 0x6:
327 return ("PREFETCH");
328 case 0x7:
329 return ("EVICT");
330 case 0x8:
331 return ("SNOOP");
332 }
333 return ("???");
334}
335
336static const char *
337mca_error_mmtype(uint16_t mca_error)

Callers 1

mca_logFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected