1.1 --- a/idl.lex Thu Sep 15 18:09:21 2022 +0200
1.2 +++ b/idl.lex Fri Sep 16 14:00:36 2022 +0200
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Scanner for a simple interface description language.
1.6 *
1.7 - * Copyright (C) 2019 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2019, 2022 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
2.1 --- a/structure.c Thu Sep 15 18:09:21 2022 +0200
2.2 +++ b/structure.c Fri Sep 16 14:00:36 2022 +0200
2.3 @@ -97,11 +97,6 @@
2.4 fprintf(fp, structure_opcode_member, opcode_type);
2.5 else
2.6 fprintf(fp, structure_opcode_member, L4_OPCODE_TYPE);
2.7 -
2.8 - /* Introduce opcode padding unless the opcode type is overridden. */
2.9 -
2.10 - if (opcode_type == NULL)
2.11 - fprintf(fp, structure_opcode_padding_member, L4_OPCODE_PADDING_TYPE);
2.12 }
2.13 write_declarations(param, IN_PARAMETER, WORD_CLASS, fp);
2.14 fputs(structure_epilogue, fp);
3.1 --- a/templates.h Thu Sep 15 18:09:21 2022 +0200
3.2 +++ b/templates.h Fri Sep 16 14:00:36 2022 +0200
3.3 @@ -298,9 +298,6 @@
3.4 #define structure_opcode_member \
3.5 " %s _op;\n"
3.6
3.7 -#define structure_opcode_padding_member \
3.8 -" %s _op_padding;\n"
3.9 -
3.10 #define structure_epilogue \
3.11 "};\n"
3.12
4.1 --- a/types.h Thu Sep 15 18:09:21 2022 +0200
4.2 +++ b/types.h Fri Sep 16 14:00:36 2022 +0200
4.3 @@ -31,8 +31,7 @@
4.4
4.5 /* IPC opcode type. */
4.6
4.7 -#define L4_OPCODE_TYPE "l4_uint32_t"
4.8 -#define L4_OPCODE_PADDING_TYPE "l4_uint32_t"
4.9 +#define L4_OPCODE_TYPE "l4_umword_t"
4.10
4.11 /* Specifier values. */
4.12