Searched refs:guest_sa_sigaction (Results 1 – 5 of 5) sorted by relevance
/frameworks/libs/binary_translation/guest_os_primitives/ |
D | guest_signal_action_test.cc | 62 new_sa.guest_sa_sigaction = kGuestSaSigaction; in TEST() 68 EXPECT_EQ(kGuestSaSigaction, action.GetClaimedGuestAction().guest_sa_sigaction); in TEST() 72 EXPECT_EQ(kGuestSaSigaction, old_sa.guest_sa_sigaction); in TEST() 89 sa.guest_sa_sigaction = kNewGuestSaSigaction; in TEST() 95 EXPECT_EQ(kOrigGuestSaSigaction, sa.guest_sa_sigaction); in TEST() 100 EXPECT_EQ(kNewGuestSaSigaction, sa.guest_sa_sigaction); in TEST() 117 EXPECT_EQ(kOrigGuestSaSigaction, old_sa.guest_sa_sigaction); in TEST() 122 new_sa.guest_sa_sigaction = Guest_SIG_DFL; in TEST() 126 EXPECT_EQ(kOrigGuestSaSigaction, old_sa.guest_sa_sigaction); in TEST() 130 new_sa.guest_sa_sigaction = kOrigGuestSaSigaction; in TEST() [all …]
|
D | guest_signal_handling_arch.cc | 53 TRACE("delivering signal %d at %p", info->si_signo, ToHostAddr<void>(sa->guest_sa_sigaction)); in ProcessGuestSignal() 55 CHECK_NE(sa->guest_sa_sigaction, Guest_SIG_DFL); in ProcessGuestSignal() 56 CHECK_NE(sa->guest_sa_sigaction, Guest_SIG_IGN); in ProcessGuestSignal() 57 CHECK_NE(sa->guest_sa_sigaction, Guest_SIG_ERR); in ProcessGuestSignal() 67 guest_call.RunVoid(sa->guest_sa_sigaction); in ProcessGuestSignal()
|
D | guest_signal_action.cc | 49 guest_sa->guest_sa_sigaction = WrapHostSigactionForGuest(*host_sa); in ConvertHostSigactionToGuest() 82 if (guest_sa->guest_sa_sigaction == 0) { in ConvertGuestSigactionToHost() 86 } else if (void* func = UnwrapHostFunction(guest_sa->guest_sa_sigaction)) { in ConvertGuestSigactionToHost() 92 } else if (guest_sa->guest_sa_sigaction == Guest_SIG_DFL) { in ConvertGuestSigactionToHost() 94 } else if (guest_sa->guest_sa_sigaction == Guest_SIG_IGN) { in ConvertGuestSigactionToHost() 96 } else if (guest_sa->guest_sa_sigaction == Guest_SIG_ERR) { in ConvertGuestSigactionToHost() 99 void* func = UnwrapHostFunction(guest_sa->guest_sa_sigaction); in ConvertGuestSigactionToHost()
|
D | guest_signal_action.h | 36 : claimed_guest_sa_{.guest_sa_sigaction = Guest_SIG_DFL, .sa_flags = 0, .sa_mask = {}} {} in GuestSignalAction() 53 bool IsClaimed() const { return claimed_guest_sa_.guest_sa_sigaction != Guest_SIG_DFL; } in IsClaimed() 56 CHECK_NE(Guest_SIG_DFL, sa->guest_sa_sigaction); in Claim() 60 void Unclaim() { claimed_guest_sa_.guest_sa_sigaction = Guest_SIG_DFL; } in Unclaim()
|
/frameworks/libs/binary_translation/guest_os_primitives/riscv64/include/berberis/guest_os_primitives/ |
D | guest_signal_arch.h | 25 GuestAddr guest_sa_sigaction; member 32 CHECK_FIELD_LAYOUT(Guest_sigaction, guest_sa_sigaction, 0, 64);
|