Skip to content

Commit 6d92cdc

Browse files
misc(everywhere): update copyright year :^)
Happy new year :^) Signed-off-by: Anhad Singh <[email protected]>
1 parent 04a856c commit 6d92cdc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+349
-123
lines changed

aero.py

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22

3-
# Copyright (C) 2021-2022 The Aero Project Developers.
3+
# Copyright (C) 2021-2024 The Aero Project Developers.
44
#
55
# This file is part of The Aero Project.
66
#
@@ -90,6 +90,7 @@ def __init__(self, target_arch: str, args: argparse.Namespace):
9090
def get_userland_tool(): return os.path.join(SYSROOT_DIR, "tools")
9191
def get_userland_package(): return os.path.join(SYSROOT_DIR, "packages")
9292

93+
9394
def remove_prefix(string: str, prefix: str):
9495
if string.startswith(prefix):
9596
return string[len(prefix):]
@@ -295,7 +296,7 @@ def build_userland_sysroot(minimal):
295296
if not os.path.islink(blink):
296297
# symlink the bootstrap.yml file in the src root to sysroot/bootstrap.link
297298
symlink_rel('bootstrap.yml', blink)
298-
299+
299300
def run_xbstrap(args):
300301
try:
301302
return run_command(['xbstrap', *args], cwd=SYSROOT_DIR)
@@ -310,7 +311,8 @@ def run_xbstrap(args):
310311
code, _, _ = run_xbstrap(command)
311312

312313
if code != 0:
313-
log_error(f"`xbstrap {' '.join(command)}` exited with a non-zero status code")
314+
log_error(
315+
f"`xbstrap {' '.join(command)}` exited with a non-zero status code")
314316
exit(1)
315317

316318

@@ -320,7 +322,8 @@ def build_userland(args):
320322
host_cargo = os.path.join(SYSROOT_DIR, "tools/host-rust")
321323

322324
if not os.path.exists(host_cargo):
323-
log_error("host-rust not built as a part of the sysroot, skipping compilation of `userland/`")
325+
log_error(
326+
"host-rust not built as a part of the sysroot, skipping compilation of `userland/`")
324327
return []
325328

326329
HOST_RUST = "host-rust/bin/rustc"
@@ -465,7 +468,7 @@ def run_in_emulator(build_info: BuildInfo, iso_path):
465468
'-serial', 'stdio',
466469
'-drive', 'file=build/disk.img,if=none,id=NVME1,format=raw', '-device', 'nvme,drive=NVME1,serial=nvme',
467470
# Specify the boot order (where `d` is the first CD-ROM drive)
468-
'--boot', 'd',
471+
'--boot', 'd',
469472
'-s']
470473

471474
if args.bios == 'uefi':
@@ -503,7 +506,8 @@ def run_in_emulator(build_info: BuildInfo, iso_path):
503506
if not qemu_binary:
504507
qemu_binary = f'qemu-system-{build_info.target_arch}'
505508
else:
506-
qemu_binary = os.path.join(qemu_binary, f'qemu-system-{build_info.target_arch}');
509+
qemu_binary = os.path.join(
510+
qemu_binary, f'qemu-system-{build_info.target_arch}')
507511

508512
log_info(f"{qemu_binary} {' '.join(qemu_args)}")
509513
run_command([qemu_binary, *qemu_args])
@@ -597,7 +601,8 @@ def main():
597601

598602
if os.path.exists(BUILD_DIR):
599603
system_root = os.path.join(SYSROOT_DIR, 'system-root')
600-
sysroot_mod = max(os.path.getmtime(os.path.join(system_root, file)) for file in os.listdir(system_root))
604+
sysroot_mod = max(os.path.getmtime(os.path.join(system_root, file))
605+
for file in os.listdir(system_root))
601606
build_mod = os.path.getmtime(BUILD_DIR)
602607
if sysroot_mod > build_mod:
603608
log_info("sysroot modified, rebuilding")
@@ -649,7 +654,7 @@ def main():
649654

650655
if not kernel_bin or args.check:
651656
return
652-
657+
653658
if not user_bins:
654659
user_bins = []
655660

src/aero_kernel/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2021-2023 The Aero Project Developers.
1+
// Copyright (C) 2021-2024 The Aero Project Developers.
22
//
33
// This file is part of The Aero Project.
44
//

src/aero_kernel/src/acpi/fadt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2021-2023 The Aero Project Developers.
1+
// Copyright (C) 2021-2024 The Aero Project Developers.
22
//
33
// This file is part of The Aero Project.
44
//

src/aero_kernel/src/acpi/hpet.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2021-2023 The Aero Project Developers.
1+
// Copyright (C) 2021-2024 The Aero Project Developers.
22
//
33
// This file is part of The Aero Project.
44
//

src/aero_kernel/src/acpi/madt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2021-2023 The Aero Project Developers.
1+
// Copyright (C) 2021-2024 The Aero Project Developers.
22
//
33
// This file is part of The Aero Project.
44
//

src/aero_kernel/src/acpi/mcfg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2021-2023 The Aero Project Developers.
1+
// Copyright (C) 2021-2024 The Aero Project Developers.
22
//
33
// This file is part of The Aero Project.
44
//

src/aero_kernel/src/acpi/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2021-2023 The Aero Project Developers.
1+
// Copyright (C) 2021-2024 The Aero Project Developers.
22
//
33
// This file is part of The Aero Project.
44
//

src/aero_kernel/src/acpi/rsdp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2021-2023 The Aero Project Developers.
1+
// Copyright (C) 2021-2024 The Aero Project Developers.
22
//
33
// This file is part of The Aero Project.
44
//

src/aero_kernel/src/acpi/sdt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2021-2023 The Aero Project Developers.
1+
// Copyright (C) 2021-2024 The Aero Project Developers.
22
//
33
// This file is part of The Aero Project.
44
//

src/aero_kernel/src/arch/aarch64/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2021-2023 The Aero Project Developers.
1+
// Copyright (C) 2021-2024 The Aero Project Developers.
22
//
33
// This file is part of The Aero Project.
44
//

0 commit comments

Comments
 (0)