Library mcertikos.devdrivers.HandlerIntroGenLink
Require Import LinkTemplate.
Require Import DHandlerIntro.
Require Import HandlerIntroGen.
Require Import HandlerIntroGenLinkSource.
Require Import DConsole.
Require Import DConsoleCSource.
Require Import DConsoleCode.
Section WITHCOMPCERTIKOS.
Context `{compcertikos_prf: CompCertiKOS} `{real_params_prf: RealParams}.
Context `{oracle_prop: MultiOracleProp}.
Lemma init_correct:
init_correct_type DHandlerIntro_module dconsole dhandlerintro.
Proof.
init_correct.
Qed.
Lemma link_correct_aux:
link_correct_aux_type DHandlerIntro_module dconsole dhandlerintro.
Proof.
link_correct_aux.
- link_cfunction
intr_default_handler_spec_ref
DCONSOLECODE.intr_default_handler_code_correct.
- apply passthrough_correct.
Qed.
Theorem cl_backward_simulation:
cl_backward_simulation_type DHandlerIntro_module dconsole dhandlerintro.
Proof.
cl_backward_simulation init_correct link_correct_aux.
Qed.
Theorem make_program_exists:
make_program_exist_type DHandlerIntro_module dconsole dhandlerintro.
Proof.
make_program_exists link_correct_aux.
Qed.
End WITHCOMPCERTIKOS.
Require Import DHandlerIntro.
Require Import HandlerIntroGen.
Require Import HandlerIntroGenLinkSource.
Require Import DConsole.
Require Import DConsoleCSource.
Require Import DConsoleCode.
Section WITHCOMPCERTIKOS.
Context `{compcertikos_prf: CompCertiKOS} `{real_params_prf: RealParams}.
Context `{oracle_prop: MultiOracleProp}.
Lemma init_correct:
init_correct_type DHandlerIntro_module dconsole dhandlerintro.
Proof.
init_correct.
Qed.
Lemma link_correct_aux:
link_correct_aux_type DHandlerIntro_module dconsole dhandlerintro.
Proof.
link_correct_aux.
- link_cfunction
intr_default_handler_spec_ref
DCONSOLECODE.intr_default_handler_code_correct.
- apply passthrough_correct.
Qed.
Theorem cl_backward_simulation:
cl_backward_simulation_type DHandlerIntro_module dconsole dhandlerintro.
Proof.
cl_backward_simulation init_correct link_correct_aux.
Qed.
Theorem make_program_exists:
make_program_exist_type DHandlerIntro_module dconsole dhandlerintro.
Proof.
make_program_exists link_correct_aux.
Qed.
End WITHCOMPCERTIKOS.