Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7fb20c72 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Remove floating point register cruft." am: a4aab526 am: c9dda75f

parents fa0bc763 c9dda75f
Loading
Loading
Loading
Loading
+0 −34
Original line number Diff line number Diff line
@@ -19,40 +19,6 @@ crash1:
	ldr r11, =0xa5a50011
	ldr r12, =0xa5a50012


	fconstd   d0, #0
	fconstd   d1, #1
	fconstd   d2, #2
	fconstd   d3, #3
	fconstd   d4, #4
	fconstd   d5, #5
	fconstd   d6, #6
	fconstd   d7, #7
	fconstd   d8, #8
	fconstd   d9, #9
	fconstd   d10, #10
	fconstd   d11, #11
	fconstd   d12, #12
	fconstd   d13, #13
	fconstd   d14, #14
	fconstd   d15, #15
	fconstd   d16, #16
	fconstd   d17, #17
	fconstd   d18, #18
	fconstd   d19, #19
	fconstd   d20, #20
	fconstd   d21, #21
	fconstd   d22, #22
	fconstd   d23, #23
	fconstd   d24, #24
	fconstd   d25, #25
	fconstd   d26, #26
	fconstd   d27, #27
	fconstd   d28, #28
	fconstd   d29, #29
	fconstd   d30, #30
	fconstd   d31, #31

	mov lr, #0
	ldr lr, [lr]
	b .
+0 −33
Original line number Diff line number Diff line
@@ -37,39 +37,6 @@ crash1:
	ldr x28, =0xa5a50028
	ldr x29, =0xa5a50029

	fmov   d0, -1.0  // -1 is more convincing than 0.
	fmov   d1, 1.0
	fmov   d2, 2.0
	fmov   d3, 3.0
	fmov   d4, 4.0
	fmov   d5, 5.0
	fmov   d6, 6.0
	fmov   d7, 7.0
	fmov   d8, 8.0
	fmov   d9, 9.0
	fmov   d10, 10.0
	fmov   d11, 11.0
	fmov   d12, 12.0
	fmov   d13, 13.0
	fmov   d14, 14.0
	fmov   d15, 15.0
	fmov   d16, 16.0
	fmov   d17, 17.0
	fmov   d18, 18.0
	fmov   d19, 19.0
	fmov   d20, 20.0
	fmov   d21, 21.0
	fmov   d22, 22.0
	fmov   d23, 23.0
	fmov   d24, 24.0
	fmov   d25, 25.0
	fmov   d26, 26.0
	fmov   d27, 27.0
	fmov   d28, 28.0
	fmov   d29, 29.0
	fmov   d30, 30.0
	fmov   d31, 31.0

	mov x30, xzr
	ldr x30, [x30]
	b .
+0 −1
Original line number Diff line number Diff line
@@ -51,7 +51,6 @@ enum logtype {
  HEADER,
  THREAD,
  REGISTERS,
  FP_REGISTERS,
  BACKTRACE,
  MAPS,
  MEMORY,
+1 −6
Original line number Diff line number Diff line
@@ -47,12 +47,7 @@ using android::base::StringPrintf;
using android::base::unique_fd;

bool is_allowed_in_logcat(enum logtype ltype) {
  if ((ltype == HEADER)
   || (ltype == REGISTERS)
   || (ltype == BACKTRACE)) {
    return true;
  }
  return false;
  return (ltype == HEADER) || (ltype == REGISTERS) || (ltype == BACKTRACE);
}

static bool should_write_to_kmsg() {