Skip to content

Commit

Permalink
Copyright 2019, whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mato committed Apr 29, 2019
1 parent ef0472a commit e9ed23b
Show file tree
Hide file tree
Showing 140 changed files with 195 additions and 195 deletions.
2 changes: 1 addition & 1 deletion GNUmakefile
@@ -1,4 +1,4 @@
# Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
# Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
#
# This file is part of Solo5, a sandboxed execution environment.
#
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
ISC License

Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file

Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
Expand Down
2 changes: 1 addition & 1 deletion Makefile.common
@@ -1,4 +1,4 @@
# Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
# Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
#
# This file is part of Solo5, a sandboxed execution environment.
#
Expand Down
2 changes: 1 addition & 1 deletion bindings/GNUmakefile
@@ -1,4 +1,4 @@
# Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
# Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
#
# This file is part of Solo5, a sandboxed execution environment.
#
Expand Down
4 changes: 2 additions & 2 deletions bindings/abort.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/bindings.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/cmdline.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/cpu_aarch64.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/cpu_aarch64.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/cpu_vectors_aarch64.S
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/cpu_vectors_x86_64.S
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/cpu_x86_64.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/cpu_x86_64.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/crt.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/crt_init.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/exit.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/genode/bindings.cc
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2018-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/hvt/bindings.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/hvt/block.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/hvt/console.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/hvt/net.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/hvt/platform.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/hvt/platform_intr.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/hvt/platform_lifecycle.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/hvt/start.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/hvt/time.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/hvt/tscclock.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/hvt/yield.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/intr.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/lib.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/log.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
12 changes: 6 additions & 6 deletions bindings/mem.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand All @@ -22,7 +22,7 @@

static uint64_t heap_start;

/*
/*
* Locks the memory layout (by disabling mem_ialloc_pages()). Must be called
* before passing control to the application via solo5_app_main().
*
Expand All @@ -46,12 +46,12 @@ void mem_init(void)

mem_size = platform_mem_size();
heap_start = ((uint64_t)&_end + PAGE_SIZE - 1) & PAGE_MASK;

/*
* Cowardly refuse to run with less than 512KB of free memory.
*/
if (heap_start + 0x80000 > mem_size)
PANIC("Not enough memory", NULL);
PANIC("Not enough memory", NULL);

log(INFO, "Solo5: Memory map: %llu MB addressable:\n",
(unsigned long long)mem_size >> 20);
Expand All @@ -67,7 +67,7 @@ void mem_init(void)
(unsigned long long)heap_start, (unsigned long long)mem_size);
}

/*
/*
* Allocate pages on the heap. Should only be called on
* initialization (before solo5_app_main).
*/
Expand Down
2 changes: 1 addition & 1 deletion bindings/muen/muen-platform_lifecycle.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/spt/bindings.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/spt/bindings.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/spt/block.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/spt/net.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/spt/platform.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/spt/start.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/spt/sys_linux_aarch64.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
2 changes: 1 addition & 1 deletion bindings/spt/sys_linux_x86_64.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/virtio/bindings.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/virtio/clock_subr.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/virtio/clock_subr.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/virtio/multiboot.h
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/virtio/pci.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/virtio/platform.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/virtio/platform_intr.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down
4 changes: 2 additions & 2 deletions bindings/virtio/pvclock.c
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file
/*
* Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
Expand Down

0 comments on commit e9ed23b

Please sign in to comment.