formatting

This commit is contained in:
Tim 2017-08-21 12:31:43 +08:00
parent e1a7494724
commit ac6495a7eb
1 changed files with 57 additions and 59 deletions

View File

@ -54,7 +54,7 @@ start:
mov x4, xzr
mov x5, xzr
/* call mmap() */
mov x8, SYS_MMAP
movi x8, SYS_MMAP
svc 0
/* Grab the saved size, save the address */
@ -71,7 +71,6 @@ read_loop:
mov x0, x12
mov x1, x3
mov x2, x4
/* call read() */
mov x8, SYS_READ
svc 0
add x3, x3, x0
@ -93,4 +92,3 @@ sockaddr:
.short PORT
.word IP