sizeof(struct kevent) on ARM 32-bit

Nick Kostirya nikolay.kostirya at i11.co
Fri Feb 28 09:48:11 UTC 2020


Hello.

Why sizeof(struct kevent) is 64 on ARM 32-bit?
It is like as on amd64. But why?
And struct timespec also is 16, but 8.


i386 (FreeBSD 12.1):
sizeof(struct kevent)   = 56
sizeof(struct timespec) = 8
sizeof(intptr_t)        = 4

amd64:
sizeof(struct kevent)   = 64
sizeof(struct timespec) = 16
sizeof(intptr_t)        = 8

ARM 32-bit:
sizeof(struct kevent)   = 64
sizeof(struct timespec) = 16
sizeof(intptr_t)        = 4

Nick.


More information about the freebsd-arm mailing list