MCPcopy Create free account
hub / github.com/F-Stack/f-stack / dbg_get_ossr

Function dbg_get_ossr

freebsd/arm/arm/debug_monitor.c:774–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

772}
773
774static __inline boolean_t
775dbg_get_ossr(void)
776{
777
778 switch (dbg_model) {
779 case ID_DFR0_CP_DEBUG_M_V7:
780 if ((cp14_dbgoslsr_get() & DBGOSLSR_OSLM0) != 0)
781 return (TRUE);
782
783 return (FALSE);
784 case ID_DFR0_CP_DEBUG_M_V7_1:
785 return (TRUE);
786 default:
787 return (FALSE);
788 }
789}
790
791static __inline boolean_t
792dbg_arch_supported(void)

Callers 1

dbg_monitor_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected