(** *Event semantics for Clight_new*)
   (* This should be a version of CLN_memsem annotated with memory events.*)
  
  Program Definition CLN_evsem ge : @EvSem C := {| msem := CLN_memsem ge; ev_step := cl_evstep ge |}.

Lemma at_external_SEM_eq: forall ge c m, semantics.at_external (CLN_evsem ge) c m = match c with | State _ _ _ => None | ExtCall ef args _ _ _ _ => Some (ef, args) end.