(* * Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) * * SPDX-License-Identifier: BSD-2-Clause *) theory global_asm_stmt imports "CParser.CTranslation" "AsmRefine.GlobalsSwap" begin declare [[populate_globals=true]] typedecl machine_state typedecl cghost_state external_file "global_asm_stmt.c" install_C_file "global_asm_stmt.c" [machinety=machine_state, ghostty=cghost_state] setup \DefineGlobalsList.define_globals_list_i "global_asm_stmt.c" @{typ globals}\ locale g_asm_target = global_asm_stmt_global_addresses begin abbreviation "globals_list \ global_asm_stmt_global_addresses.global_data_list" lemmas global_data_defs = global_asm_stmt_global_addresses.global_data_defs end end