Closed digitalgust closed 6 years ago
above this line code throw error , ltalloc.c:111:103: error: unrecognized instruction mnemonic
it is intel instruct, so i change it to :
//#define PAUSE asm volatile("pause" ::: "memory")
then build sucess and look like run fine .
thanks :D
define PAUSE asm volatile("pause" ::: "memory")
above this line code throw error , ltalloc.c:111:103: error: unrecognized instruction mnemonic
it is intel instruct, so i change it to :
include //for sched_yield
//#define PAUSE asm volatile("pause" ::: "memory")
define PAUSE sched_yield()
then build sucess and look like run fine .