[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH 21/22] plat/kvm: arm64: Remove needless semicolons in assembly


  • To: <minios-devel@xxxxxxxxxxxxxxxxxxxx>, <simon.kuenzer@xxxxxxxxx>
  • From: Wei Chen <wei.chen@xxxxxxx>
  • Date: Thu, 8 Nov 2018 09:51:52 +0000
  • Authentication-results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=bestguesspass action=none header.from=arm.com;
  • Cc: Kaly.Xin@xxxxxxx, nd@xxxxxxx, wei.chen@xxxxxxx
  • Delivery-date: Thu, 08 Nov 2018 09:52:52 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Nodisclaimer: True
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Some simicolons are needless in assembly source code. So we remove
them from code.

Signed-off-by: Wei Chen <wei.chen@xxxxxxx>
---
 plat/kvm/arm/pagetable64.S | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/plat/kvm/arm/pagetable64.S b/plat/kvm/arm/pagetable64.S
index d02e104..7899c19 100644
--- a/plat/kvm/arm/pagetable64.S
+++ b/plat/kvm/arm/pagetable64.S
@@ -77,14 +77,14 @@ ENTRY(create_pagetables)
         */
        mov x6, x14
        mov x8, #0
-       add x9, x14, #L1_TABLE_OFFSET;
+       add x9, x14, #L1_TABLE_OFFSET
        mov x10, #2
        bl  link_l0_pagetable
 
        /*
         * Using 1GiB block to map device address space (0x0 ~ 0x3fffffff)
         */
-       add x6, x14, #L1_TABLE_OFFSET;
+       add x6, x14, #L1_TABLE_OFFSET
        ldr x7, =SECT_ATTR_DEVICE_nGnRE
        mov x8, #DEVICE_ADDR_START
        mov x9, x8
@@ -96,7 +96,7 @@ ENTRY(create_pagetables)
         * (0x40000000 ~ (256GiB -1)). The RAM areas that contain kernel
         * sections will be update later.
         */
-       add x6, x14, #L1_TABLE_OFFSET;
+       add x6, x14, #L1_TABLE_OFFSET
        ldr x7, =SECT_ATTR_NORMAL
        mov x8, #RAM_ADDR_START
        mov x9, x8
@@ -107,7 +107,7 @@ ENTRY(create_pagetables)
         * Using 1GiB block to map high PCIe address space
         * (0x512GiB ~ (1TiB -1)).
         */
-       add x6, x14, #L1_TABLE_OFFSET;
+       add x6, x14, #L1_TABLE_OFFSET
        add x6, x6, #__PAGE_SIZE
        ldr x7, =SECT_ATTR_DEVICE_nGnRE
        mov x8, #PCIE_ADDR_START
@@ -122,7 +122,7 @@ ENTRY(create_pagetables)
         * L1 -> L2 -> L3 (4K)
         */
        /* 1st: Build a L2 block pagetable */
-       add x6, x14, #L2_TABLE_OFFSET;
+       add x6, x14, #L2_TABLE_OFFSET
        ldr x7, =SECT_ATTR_NORMAL
        mov x8, #RAM_ADDR_START
        mov x9, x8
@@ -130,13 +130,13 @@ ENTRY(create_pagetables)
        bl  build_l2_block_pagetable
 
        /* 2nd: Link this L2 block pagetable to L1 entry */
-       add x6, x14, #L1_TABLE_OFFSET;
+       add x6, x14, #L1_TABLE_OFFSET
        mov x8, #RAM_ADDR_START
-       add x9, x14, #L2_TABLE_OFFSET;
+       add x9, x14, #L2_TABLE_OFFSET
        bl  link_l1_pagetable
 
        /* 3rd: Build a L3 pagetable for image occupied memory */
-       add x16, x14, #L3_TABLE_OFFSET;
+       add x16, x14, #L3_TABLE_OFFSET
        mov x17, #RAM_ADDR_START
 
        mov x6, x16
@@ -147,7 +147,7 @@ ENTRY(create_pagetables)
        bl  build_l3_pagetable
 
        /* 4th: Link this L3 pagetable to L2 entry */
-       add x6, x14, #L2_TABLE_OFFSET;
+       add x6, x14, #L2_TABLE_OFFSET
 1:
        mov x8, x17
        mov x9, x16
@@ -163,7 +163,7 @@ ENTRY(create_pagetables)
        ldr x8, =_dtb
        ldr x9, =_text
        sub x10, x9, x8
-       add x6, x14, #L3_TABLE_OFFSET;
+       add x6, x14, #L3_TABLE_OFFSET
        ldr x7, =SECT_ATTR_NORMAL_RO
        mov x9, x8
        lsr x10, x10, L3_SHIFT
@@ -173,7 +173,7 @@ ENTRY(create_pagetables)
        ldr x8, =_text
        ldr x9, =_etext
        sub x10, x9, x8
-       add x6, x14, #L3_TABLE_OFFSET;
+       add x6, x14, #L3_TABLE_OFFSET
        ldr x7, =SECT_ATTR_NORMAL_EXEC
        mov x9, x8
        lsr x10, x10, L3_SHIFT
@@ -183,7 +183,7 @@ ENTRY(create_pagetables)
        ldr x8, =_rodata
        ldr x9, =_ectors
        sub x10, x9, x8
-       add x6, x14, #L3_TABLE_OFFSET;
+       add x6, x14, #L3_TABLE_OFFSET
        ldr x7, =SECT_ATTR_NORMAL_RO
        mov x9, x8
        lsr x10, x10, L3_SHIFT
-- 
2.17.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.