ctors_test.c 384 B

1234567891011121314151617181920
  1. /*
  2. * ctors_test.c
  3. * Copyright 2019 Peter Jones <pjones@redhat.com>
  4. *
  5. */
  6. #include <efi.h>
  7. #include <efilib.h>
  8. extern int constructed_value;
  9. EFI_STATUS
  10. efi_main (EFI_HANDLE image EFI_UNUSED, EFI_SYSTEM_TABLE *systab EFI_UNUSED)
  11. {
  12. Print(L"%a:%d:%a() constructed_value:%d\n", __FILE__, __LINE__, __func__, constructed_value);
  13. return EFI_SUCCESS;
  14. }
  15. // vim:fenc=utf-8:tw=75:noet