Skip to content

Commit

Permalink
update license declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
henryZe committed Aug 15, 2022
1 parent 54204c1 commit d11fa03
Show file tree
Hide file tree
Showing 13 changed files with 1,678 additions and 548 deletions.
3 changes: 1 addition & 2 deletions boot/boot.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: MIT */
/*
* boot/boot.S
*
* Copyright (C) 2018 Henry.Zeng <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
Expand Down
3 changes: 1 addition & 2 deletions boot/bootmain.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: MIT
/*
* boot/bootmain.c
*
* Copyright (C) 2018 Henry.Zeng <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
Expand Down
3 changes: 1 addition & 2 deletions include/boot/asm.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: MIT */
/*
* include/boot/asm.h
*
* Copyright (C) 2018 Henry.Zeng <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
Expand Down
3 changes: 1 addition & 2 deletions include/boot/elf.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: MIT */
/*
* include/boot/elf.h
*
* Copyright (C) 2018 Henry.Zeng <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
Expand Down
3 changes: 1 addition & 2 deletions include/boot/mmu.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: MIT */
/*
* include/boot/mmu.h
*
* Copyright (C) 2018 Henry.Zeng <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
Expand Down
3 changes: 1 addition & 2 deletions include/boot/types.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: MIT */
/*
* include/boot/types.h
*
* Copyright (C) 2018 Henry.Zeng <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
Expand Down
3 changes: 1 addition & 2 deletions include/boot/x86.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: MIT */
/*
* include/boot/x86.h
*
* Copyright (C) 2018 Henry.Zeng <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion include/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <ns.h>
#include <debug.h>

#define USED(x) (void)(x)
#define USED(x) ((void)(x))

// main user program
void umain(int argc, char **argv);
Expand Down
3 changes: 1 addition & 2 deletions kernel/entry.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: MIT */
/*
* kernel/entry.S
*
* Copyright (C) 2018 Henry.Zeng <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
Expand Down
4 changes: 2 additions & 2 deletions kernel/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ pci_attach_match(uint32_t key1, uint32_t key2,
if (r > 0)
return r;
if (r < 0)
warn("pci_attach_match: attaching %x.%x (%p): %e\n",
key1, key2, list[i].attachfn, r);
warn("%s: attaching %x.%x (%p): %e\n",
__func__, key1, key2, list[i].attachfn, r);
}
}
return 0;
Expand Down
3 changes: 1 addition & 2 deletions kernel/trapentry.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: MIT */
/*
* kernel/trapentry.S
*
* Copyright (C) 2018 Henry.Zeng <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
Expand Down
Loading

0 comments on commit d11fa03

Please sign in to comment.