# Porting FreeRtos on XEN

**URL:** <https://forums.freertos.org/t/porting-freertos-on-xen/15899>\
**Category:** ARM\
**Tags:** debug\
**Created:** [September 26, 2022, 2:27am UTC](https://forums.freertos.org/t/porting-freertos-on-xen/15899 "2022-09-26T02:27:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dega](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@dega](https://forums.freertos.org/u/dega)\
**Post date:** [September 26, 2022, 2:27am UTC](https://forums.freertos.org/t/porting-freertos-on-xen/15899/1 "2022-09-26T02:27:27Z")

</div>

Hi,

I am trying to port FreeRtos on XEN hypervisor.

Getting following error.

A15\_Xen/asm/boot.o  
…/…/Source/portable/GCC/ARM7\_CA15\_Xen/asm/boot.s: Assembler messages:  
…/…/Source/portable/GCC/ARM7\_CA15\_Xen/asm/boot.s:143: Error: selected processor does not support `dsb' in ARM mode ../../Source/portable/GCC/ARM7_CA15_Xen/asm/boot.s:151: Error: selected processor does not support `isb’ in ARM mode  
…/…/Source/portable/GCC/ARM7\_CA15\_Xen/asm/boot.s:159: Error: selected processor does not support `cps #0x17' in ARM mode ../../Source/portable/GCC/ARM7_CA15_Xen/asm/boot.s:159: Error: selected processor does not support `cps #0x11’ in ARM mode  
…/…/Source/portable/GCC/ARM7\_CA15\_Xen/asm/boot.s:159: Error: selected processor does not support `cps #0x12' in ARM mode ../../Source/portable/GCC/ARM7_CA15_Xen/asm/boot.s:159: Error: selected processor does not support `cps #0x1b’ in ARM mode  
…/…/Source/portable/GCC/ARM7\_CA15\_Xen/asm/boot.s:159: Error: selected processor does not support `cps #0x13' in ARM mode ../../Source/portable/GCC/ARM7_CA15_Xen/asm/boot.s:181: Error: selected processor does not support `cpsid i’ in ARM mode  
make: \*\*\* [Makefile:143: …/…/Source/portable/GCC/ARM7\_CA15\_Xen/asm/boot.o] Error 1

Thanks in advance

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [September 26, 2022, 4:19am UTC](https://forums.freertos.org/t/porting-freertos-on-xen/15899/2 "2022-09-26T04:19:54Z")

</div>

Maybe stating the obvious, but the processor core specified on your GCC command line doesn’t match the processor targeted by the assembly file.
