forked from M-Labs/artiq-zynq
pca006132
4457af7277
Fixes issue #42. Previously there was no fix for the variable alignment. We calculate the position of the variable based on the size of the previous variable, so we could break the alignment requirement for variables. For example, having a `i64` after `bool` could break the alignment required for `i64` and trigger DataAbort or data corruption. However, this requires the same data layout and LLVM type for the variables. If this cannot be maintained, this would break the alignment on the other side of the RPC, either from host to kernel or kernel to host. |
||
---|---|---|
.. | ||
.cargo | ||
gateware | ||
include | ||
libc | ||
libcoreio | ||
libdwarf | ||
libdyld | ||
libunwind | ||
llvm_libunwind | ||
runtime | ||
szl | ||
armv7-none-eabihf.json | ||
Cargo.lock | ||
Cargo.toml | ||
Makefile |