mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
Add minimal support for ARM to winebuild, just enough to get it to build and spew out spec files.
Hopefully it's not used for anything more cpu-specific thank that... svn path=/trunk/; revision=41909
This commit is contained in:
@@ -112,7 +112,7 @@ typedef struct
|
||||
|
||||
enum target_cpu
|
||||
{
|
||||
CPU_x86, CPU_x86_64, CPU_SPARC, CPU_ALPHA, CPU_POWERPC
|
||||
CPU_x86, CPU_x86_64, CPU_SPARC, CPU_ALPHA, CPU_POWERPC, CPU_ARM
|
||||
};
|
||||
|
||||
enum target_platform
|
||||
|
||||
@@ -53,6 +53,8 @@ int force_pointer_size = 0;
|
||||
enum target_cpu target_cpu = CPU_x86;
|
||||
#elif defined(TARGET_amd64)
|
||||
enum target_cpu target_cpu = CPU_x86_64;
|
||||
#elif defined (TARGET_arm)
|
||||
enum target_cpu target_cpu = CPU_ARM;
|
||||
#else
|
||||
#error Unsupported CPU
|
||||
#endif
|
||||
|
||||
@@ -516,6 +516,7 @@ unsigned int get_ptr_size(void)
|
||||
case CPU_POWERPC:
|
||||
case CPU_SPARC:
|
||||
case CPU_ALPHA:
|
||||
case CPU_ARM:
|
||||
return 4;
|
||||
case CPU_x86_64:
|
||||
return 8;
|
||||
|
||||
Reference in New Issue
Block a user