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

Function trap_msg

freebsd/i386/i386/trap.c:164–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164static const char *
165trap_msg(int trapno)
166{
167 const char *res;
168 static const char unkn[] = "UNKNOWN";
169
170 res = NULL;
171 if (trapno < nitems(trap_data))
172 res = trap_data[trapno].msg;
173 if (res == NULL)
174 res = unkn;
175 return (res);
176}
177
178#if defined(I586_CPU) && !defined(NO_F00F_HACK)
179int has_f00f_bug = 0; /* Initialized so that it can be patched. */

Callers 1

trap_fatalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected