ntdll: Add Sparc processor support.

This commit is contained in:
Austin English 2010-08-23 08:39:09 -05:00 committed by Alexandre Julliard
parent fac3282551
commit 7b37a6d47e
2 changed files with 5 additions and 0 deletions

View File

@ -922,6 +922,8 @@ void fill_cpu_info(void)
cached_sci.Architecture = PROCESSOR_ARCHITECTURE_PPC;
#elif defined(__ALPHA__)
cached_sci.Architecture = PROCESSOR_ARCHITECTURE_ALPHA;
#elif defined(__sparc__)
cached_sci.Architecture = PROCESSOR_ARCHITECTURE_SPARC;
#else
#error Unknown CPU
#endif

View File

@ -526,6 +526,9 @@ typedef DWORD FLONG;
#define PROCESSOR_ARCHITECTURE_AMD64 9
#define PROCESSOR_ARCHITECTURE_UNKNOWN 0xFFFF
/* Wine extension */
#define PROCESSOR_ARCHITECTURE_SPARC 20
/* dwProcessorType */
#define PROCESSOR_INTEL_386 386
#define PROCESSOR_INTEL_486 486