Home | History | Annotate | Download | only in processor

Lines Matching refs:context_flags

445   // For some reason, the AMD64 Context doesn't have context_flags
458 Swap(&context_amd64->context_flags);
460 uint32_t cpu_type = context_amd64->context_flags & MD_CONTEXT_CPU_MASK;
463 context_amd64->context_flags |= cpu_type;
498 // context_flags is already swapped
546 SetContextFlags(context_amd64->context_flags);
550 // |context_flags| of MDRawContextPPC64 is 64 bits, but other MDRawContext
551 // in the else case have 32 bits |context_flags|, so special case it here.
552 uint64_t context_flags;
553 if (!minidump_->ReadBytes(&context_flags, sizeof(context_flags))) {
558 Swap(&context_flags);
560 uint32_t cpu_type = context_flags & MD_CONTEXT_CPU_MASK;
565 context_ppc64->context_flags |= cpu_type;
579 // Set the context_flags member, which has already been read, and
581 // after context_flags.
582 context_ppc64->context_flags = context_flags;
584 size_t flags_size = sizeof(context_ppc64->context_flags);
600 // context_ppc64->context_flags was already swapped.
632 SetContextFlags(static_cast<uint32_t>(context_ppc64->context_flags));
637 context_ppc64->context_flags) {
638 BPLOG(ERROR) << "Data loss detected when converting PPC64 context_flags";
644 // |context_flags| of MDRawContextARM64 is 64 bits, but other MDRawContext
645 // in the else case have 32 bits |context_flags|, so special case it here.
646 uint64_t context_flags;
650 if (!minidump_->ReadBytes(&context_flags, sizeof(context_flags))) {
655 Swap(&context_flags);
659 uint32_t cpu_type = context_flags & MD_CONTEXT_CPU_MASK;
662 context_arm64->context_flags |= cpu_type;
676 // Set the context_flags member, which has already been read, and
678 // after context_flags.
679 context_arm64->context_flags = context_flags;
681 size_t flags_size = sizeof(context_arm64->context_flags);
698 // context_arm64->context_flags was already swapped.
717 SetContextFlags(static_cast<uint32_t>(context_arm64->context_flags));
722 context_arm64->context_flags) {
723 BPLOG(ERROR) << "Data loss detected when converting ARM64 context_flags";
729 uint32_t context_flags;
730 if (!minidump_->ReadBytes(&context_flags, sizeof(context_flags))) {
735 Swap(&context_flags);
737 uint32_t cpu_type = context_flags & MD_CONTEXT_CPU_MASK;
743 if (context_flags & MD_CONTEXT_ARM_OLD) {
744 context_flags |= MD_CONTEXT_ARM;
745 context_flags &= ~MD_CONTEXT_ARM_OLD;
752 context_flags |= cpu_type;
773 // Set the context_flags member, which has already been read, and
775 // after context_flags.
776 context_x86->context_flags = context_flags;
778 size_t flags_size = sizeof(context_x86->context_flags);
795 // context_x86->context_flags was already swapped.
846 // Set the context_flags member, which has already been read, and
848 // after context_flags.
849 context_ppc->context_flags = context_flags;
851 size_t flags_size = sizeof(context_ppc->context_flags);
876 // context_ppc->context_flags was already swapped.
922 // Set the context_flags member, which has already been read, and
924 // after context_flags.
925 context_sparc->context_flags = context_flags;
927 context_flags);
944 // context_sparc->context_flags was already swapped.
978 // Set the context_flags member, which has already been read, and
980 // after context_flags.
981 context_arm->context_flags = context_flags;
983 size_t flags_size = sizeof(context_arm->context_flags);
1000 // context_arm->context_flags was already swapped.
1035 // Set the context_flags member, which has already been read, and
1037 // after context_flags.
1038 context_mips->context_flags = context_flags;
1040 size_t flags_size = sizeof(context_mips->context_flags);
1057 // context_mips->context_flags was already swapped.
1098 SetContextFlags(context_flags);