This commit is contained in:
Adrien Bourmault 2019-03-14 21:00:03 +01:00
parent 107688098e
commit 7add417986
2 changed files with 8 additions and 0 deletions

View File

@ -21,3 +21,9 @@
// You should have received a copy of the GNU General Public License //
// along with OS/K. If not, see <https://www.gnu.org/licenses/>. //
//----------------------------------------------------------------------------//
#define cpuid(in, a, b, c, d) asm("cpuid" \
: "=a" (a), "=b" (b), "=c" (c), "=d" (d) \
: "a" (in) \
);

View File

@ -21,3 +21,5 @@
// You should have received a copy of the GNU General Public License //
// along with OS/K. If not, see <https://www.gnu.org/licenses/>. //
//----------------------------------------------------------------------------//