runs global constructors and part of qemu_init_subsystems
This commit is contained in:
parent
2fa256098d
commit
b13cfd87f4
3 changed files with 984 additions and 200 deletions
|
|
@ -32,7 +32,7 @@ POUND_HEADER=('^"# SPDX-License-Identifier: LGPL-3.0-or-later"$' '^"# See Notice
|
|||
SLASH_HEADER=('^"// SPDX-License-Identifier: LGPL-3.0-or-later"$' '^"// See Notices.txt for copyright information"$')
|
||||
MD_HEADER=('^"<!--"$' '^"SPDX-License-Identifier: LGPL-3.0-or-later"$' '^"See Notices.txt for copyright information"$')
|
||||
JSON_HEADER=('^"{"$' '^" \"license_header\": ["$' '^" \"SPDX-License-Identifier: LGPL-3.0-or-later\","$' '^" \"See Notices.txt for copyright information\""')
|
||||
ROCQ_HEADER=('^"(* SPDX-License-Identifier: LGPL-3.0-or-later"$' '^" See Notices.txt for copyright information *)"$')
|
||||
LL_HEADER=('^"; SPDX-License-Identifier: LGPL-3.0-or-later"$' '^"; See Notices.txt for copyright information"$')
|
||||
|
||||
function main()
|
||||
{
|
||||
|
|
@ -62,8 +62,8 @@ function main()
|
|||
*.json)
|
||||
check_file "$file" "${JSON_HEADER[@]}"
|
||||
;;
|
||||
*.v)
|
||||
check_file "$file" "${ROCQ_HEADER[@]}"
|
||||
*.ll)
|
||||
check_file "$file" "${LL_HEADER[@]}"
|
||||
;;
|
||||
*)
|
||||
fail_file "$file" 0 "unimplemented file kind -- you need to add it to $0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue