Re: [PATCH] docs/misra: document the expected sizes of integer types

2024-03-14 Thread Stefano Stabellini
On Thu, 14 Mar 2024, George Dunlap wrote: > On Thu, Mar 14, 2024 at 7:36 AM Jan Beulich wrote: > > > > On 14.03.2024 00:23, Stefano Stabellini wrote: > > > Xen makes assumptions about the size of integer types on the various > > > architectures. Document these assumptions. > > > > This all reads

Re: [PATCH] docs/misra: document the expected sizes of integer types

2024-03-14 Thread George Dunlap
On Thu, Mar 14, 2024 at 7:36 AM Jan Beulich wrote: > > On 14.03.2024 00:23, Stefano Stabellini wrote: > > Xen makes assumptions about the size of integer types on the various > > architectures. Document these assumptions. > > This all reads as if we required exact widths. Is that really the case?

Re: [PATCH] docs/misra: document the expected sizes of integer types

2024-03-14 Thread Jan Beulich
On 14.03.2024 00:23, Stefano Stabellini wrote: > Xen makes assumptions about the size of integer types on the various > architectures. Document these assumptions. This all reads as if we required exact widths. Is that really the case? Imo we e.g. merely depend upon sizeof(int) >= 4 * CHAR_BITS.

[PATCH] docs/misra: document the expected sizes of integer types

2024-03-13 Thread Stefano Stabellini
Xen makes assumptions about the size of integer types on the various architectures. Document these assumptions. Signed-off-by: Stefano Stabellini --- docs/misra/C-language-toolchain.rst | 44 + 1 file changed, 44 insertions(+) diff --git