AAPCS stack alignment

This commit is contained in:
NIIBE Yutaka
2016-03-08 20:27:24 +09:00
parent 90ac7f7c13
commit 25e5f21847
3 changed files with 16 additions and 5 deletions

View File

@@ -1,3 +1,13 @@
2016-03-08 Niibe Yutaka <gniibe@fsij.org>
* chopstx.h (CHOPSTX_THREAD_SIZE): Align by 8.
* chopstx.c (struct chx_thread): Add W field to align. This is to
comply AAPCS (ARM Architecture Procedure Call Standard).
(chx_init): Initialize W.
* example-cdc/{usb_stm32f103.c,usb_lld.h}: Update from Gnuk.
* example-cdc/usb-cdc.c: Update.
2015-11-05 Niibe Yutaka <gniibe@fsij.org>
* example-cdc/sample.c: Enhanced to be echo service.