summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/tools
diff options
context:
space:
mode:
authorrin <rin@NetBSD.org>2019-11-18 12:06:26 +0000
committerrin <rin@NetBSD.org>2019-11-18 12:06:26 +0000
commite5b617c5d4e2316e2c56133c7dd981544bb9a50a (patch)
tree0578efb0c2c13b22558a837f877c6008535565e6 /sys/dev/microcode/tools
parent7a04731236c61360ca72c1f4195d66e484af41bd (diff)
8-byte objects on i386 or arm-oabi are aligned in 4-byte boundary.
Therefore, we must use __attribute__((__aligned__(4))) for them. netbsd32_{,u}int64 are provided for this purpose. However, we cannot use it in <compat/sys/siginfo.h> due to circular dependency b/w <machine/netbsd32_machdep.h>. In order to distangle it, we choose here to have a duplicate type, netbsd32_siginfo_uint64, in <compat/sys/siginfo.h>. The equivalence with netbsd32_uint64 is asserted in <compat/netbsd32/netbsd32.h>. Now, gdb for i386 works again on amd64 kernel. Based on patch provided by kamil. Thanks! XXX pullup to netbsd-9
Diffstat (limited to 'sys/dev/microcode/tools')
0 files changed, 0 insertions, 0 deletions