cpucontrol.c (10b3b54548f2290bbe8d8f88c59c28d12b7a635d) cpucontrol.c (13e403fdeadd26f9748ba83ea50ee271fbfc862a)
1/*-
2 * Copyright (c) 2008 Stanislav Sedov <stas@FreeBSD.org>.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 69 unchanged lines hidden (view full) ---

78 SLIST_FOREACH_SAFE(__elm, (head), field, __elm0) \
79 (void)(freef)(__elm); \
80} while(0);
81
82struct datadir {
83 const char *path;
84 SLIST_ENTRY(datadir) next;
85};
1/*-
2 * Copyright (c) 2008 Stanislav Sedov <stas@FreeBSD.org>.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 69 unchanged lines hidden (view full) ---

78 SLIST_FOREACH_SAFE(__elm, (head), field, __elm0) \
79 (void)(freef)(__elm); \
80} while(0);
81
82struct datadir {
83 const char *path;
84 SLIST_ENTRY(datadir) next;
85};
86static SLIST_HEAD(, datadir) datadirs = SLIST_HEAD_INITIALIZER(&datadirs);
86static SLIST_HEAD(, datadir) datadirs = SLIST_HEAD_INITIALIZER(datadirs);
87
88struct ucode_handler {
89 ucode_probe_t *probe;
90 ucode_update_t *update;
91} handlers[] = {
92 { intel_probe, intel_update },
93 { amd_probe, amd_update },
94};

--- 329 unchanged lines hidden ---
87
88struct ucode_handler {
89 ucode_probe_t *probe;
90 ucode_update_t *update;
91} handlers[] = {
92 { intel_probe, intel_update },
93 { amd_probe, amd_update },
94};

--- 329 unchanged lines hidden ---