From a8325c9d9300c9e1d09c982415ba80c2480f2918 Mon Sep 17 00:00:00 2001 From: Patrick Wildt Date: Wed, 15 Feb 2017 21:39:51 +0000 Subject: whitespace fixes --- sys/arch/arm64/arm64/copy.S | 8 ++++---- sys/arch/arm64/arm64/copystr.S | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/arch/arm64/arm64/copy.S b/sys/arch/arm64/arm64/copy.S index ebe717f97d1..0a493cc16e1 100644 --- a/sys/arch/arm64/arm64/copy.S +++ b/sys/arch/arm64/arm64/copy.S @@ -1,4 +1,4 @@ -/* $OpenBSD: copy.S,v 1.2 2017/02/15 21:38:09 patrick Exp $ */ +/* $OpenBSD: copy.S,v 1.3 2017/02/15 21:39:50 patrick Exp $ */ /* * Copyright (c) 2015 Dale Rahn * Copyright (c) 2014 Patrick Wildt @@ -45,7 +45,7 @@ ENTRY(copyin) str x5, [x3, #(PCB_ONFAULT)] // set handler // This probably should be optimized -2: ldtrb w6, [x0] +2: ldtrb w6, [x0] strb w6, [x1], #1 add x0, x0, #1 sub x2, x2, #1 @@ -82,7 +82,7 @@ ENTRY(copyout) str x5, [x3, #(PCB_ONFAULT)] // set handler // This probably should be optimized -2: ldrb w6, [x0], #1 +2: ldrb w6, [x0], #1 sttrb w6, [x1] add x1, x1, #1 sub x2, x2, #1 @@ -112,7 +112,7 @@ ENTRY(kcopy) str x5, [x3, #(PCB_ONFAULT)] // set handler // This probably should be optimized -2: ldrb w6, [x0], #1 +2: ldrb w6, [x0], #1 strb w6, [x1], #1 sub x2, x2, #1 cbnz x2, 2b diff --git a/sys/arch/arm64/arm64/copystr.S b/sys/arch/arm64/arm64/copystr.S index db4e996b661..3c13b3a2a24 100644 --- a/sys/arch/arm64/arm64/copystr.S +++ b/sys/arch/arm64/arm64/copystr.S @@ -1,4 +1,4 @@ -/* $OpenBSD: copystr.S,v 1.2 2017/02/15 21:38:09 patrick Exp $ */ +/* $OpenBSD: copystr.S,v 1.3 2017/02/15 21:39:50 patrick Exp $ */ /* * Copyright (c) 2015 Dale Rahn * Copyright (c) 2014 Patrick Wildt @@ -43,19 +43,19 @@ ENTRY(copystr) mov x8, xzr -1: ldrb w4, [x0], 1 +1: ldrb w4, [x0], 1 strb w4, [x1], #1 sub x2, x2, #1 - add x8, x8, #1 + add x8, x8, #1 cbz w4, .Lcopystrsuccess cbnz x2, 1b mov x0, #ENAMETOOLONG - b .Lcopystrcleanup + b .Lcopystrcleanup .Lcopystrfault: mov x0, #EFAULT - b .Lcopystrcleanup + b .Lcopystrcleanup .Lcopystrsuccess: mov x0, xzr -- cgit v1.2.3