[BACK]Return to efi_machdep.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / aarch64 / aarch64

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/aarch64/aarch64/efi_machdep.c between version 1.7 and 1.8

version 1.7, 2020/10/22 07:23:24 version 1.8, 2020/10/22 07:31:15
Line 91  arm_efirt_md_enter(void)
Line 91  arm_efirt_md_enter(void)
   
         /* Enable FP access (AArch64 UEFI calling convention) */          /* Enable FP access (AArch64 UEFI calling convention) */
         reg_cpacr_el1_write(CPACR_FPEN_ALL);          reg_cpacr_el1_write(CPACR_FPEN_ALL);
         __asm __volatile ("isb");          isb();
   
         /*          /*
          * Install custom fault handler. EFI lock is held across calls so           * Install custom fault handler. EFI lock is held across calls so
Line 107  arm_efirt_md_exit(void)
Line 107  arm_efirt_md_exit(void)
   
         /* Disable FP access */          /* Disable FP access */
         reg_cpacr_el1_write(CPACR_FPEN_NONE);          reg_cpacr_el1_write(CPACR_FPEN_NONE);
         __asm __volatile ("isb");          isb();
   
         /* Restore FPU state */          /* Restore FPU state */
         if (arm_efirt_state.fpu_used)          if (arm_efirt_state.fpu_used)

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

CVSweb <webmaster@jp.NetBSD.org>