Jelajahi Sumber

cortex-r4: use byte to allocate the stack

Unit of "byte" is more intuitive than "long".
Grissiom 11 tahun lalu
induk
melakukan
0c9b9ced31
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      libcpu/arm/cortex-r4/start_gcc.S

+ 1 - 1
libcpu/arm/cortex-r4/start_gcc.S

@@ -30,7 +30,7 @@
 
 stack_start:
 .rept (UND_Stack_Size + SVC_Stack_Size + ABT_Stack_Size + FIQ_Stack_Size + IRQ_Stack_Size)
-.long 0
+.byte 0
 .endr
 stack_top: