From 31bc8ba5cc9850cd77cba84e0932d11cd5607e5f Mon Sep 17 00:00:00 2001 From: 11rcombs Date: Sat, 25 Jan 2014 16:55:21 -0600 Subject: Added x86 ASM functions --- libass/x86/cpuid.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 libass/x86/cpuid.h (limited to 'libass/x86/cpuid.h') diff --git a/libass/x86/cpuid.h b/libass/x86/cpuid.h new file mode 100644 index 0000000..34e4b19 --- /dev/null +++ b/libass/x86/cpuid.h @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2013 Rodger Combs + * + * This file is part of libass. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef INTEL_CPUID_H +#define INTEL_CPUID_H + +void ass_get_cpuid( uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx); + +#endif -- cgit v1.2.3