hw: add include guards to generated consts header

The special `hw/memory_consts.h` header file that is automatically
generated from an assembler base file to avoid pre-processing assembler
files, was missing inclusion guards.

Ref genodelabs/genode#5468
This commit is contained in:
Stefan Kalkowski 2025-03-25 16:00:07 +01:00 committed by Norman Feske
parent b601ad5272
commit b147dad267
2 changed files with 10 additions and 0 deletions

View File

@ -11,6 +11,9 @@
* under the terms of the GNU Affero General Public License version 3.
*/
##ifndef _SRC__LIB__HW__SPEC__64BIT_MEMORY_CONSTS_H_
##define _SRC__LIB__HW__SPEC__64BIT_MEMORY_CONSTS_H_
##include <base/stdint.h>
#namespace Hw {
@ -28,3 +31,5 @@ HW_MM_CPU_LOCAL_MEMORY_SLOT_OBJECT_SIZE = 0x2000
# }
#}
##endif /* _SRC__LIB__HW__SPEC__64BIT_MEMORY_CONSTS_H_ */

View File

@ -11,6 +11,9 @@
* under the terms of the GNU Affero General Public License version 3.
*/
##ifndef _SRC__LIB__HW__SPEC__64BIT_MEMORY_CONSTS_H_
##define _SRC__LIB__HW__SPEC__64BIT_MEMORY_CONSTS_H_
##include <base/stdint.h>
#namespace Hw {
@ -29,3 +32,5 @@ HW_MM_CPU_LOCAL_MEMORY_SLOT_OBJECT_SIZE = 0x2000
# }
#}
##endif /* _SRC__LIB__HW__SPEC__64BIT_MEMORY_CONSTS_H_ */