mirror of
https://github.com/reactos/reactos.git
synced 2024-11-06 22:52:46 +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:
parent
c8f6ed5179
commit
6dc2e41228
3 changed files with 4 additions and 1 deletions
|
@ -112,7 +112,7 @@ typedef struct
|
||||||
|
|
||||||
enum target_cpu
|
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
|
enum target_platform
|
||||||
|
|
|
@ -53,6 +53,8 @@ int force_pointer_size = 0;
|
||||||
enum target_cpu target_cpu = CPU_x86;
|
enum target_cpu target_cpu = CPU_x86;
|
||||||
#elif defined(TARGET_amd64)
|
#elif defined(TARGET_amd64)
|
||||||
enum target_cpu target_cpu = CPU_x86_64;
|
enum target_cpu target_cpu = CPU_x86_64;
|
||||||
|
#elif defined (TARGET_arm)
|
||||||
|
enum target_cpu target_cpu = CPU_ARM;
|
||||||
#else
|
#else
|
||||||
#error Unsupported CPU
|
#error Unsupported CPU
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -516,6 +516,7 @@ unsigned int get_ptr_size(void)
|
||||||
case CPU_POWERPC:
|
case CPU_POWERPC:
|
||||||
case CPU_SPARC:
|
case CPU_SPARC:
|
||||||
case CPU_ALPHA:
|
case CPU_ALPHA:
|
||||||
|
case CPU_ARM:
|
||||||
return 4;
|
return 4;
|
||||||
case CPU_x86_64:
|
case CPU_x86_64:
|
||||||
return 8;
|
return 8;
|
||||||
|
|
Loading…
Reference in a new issue