summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2015-09-02 08:24:30 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2015-09-02 08:24:30 +0000
commit38f9f8c78cd1500c5b0964d109153fa256b6ddac (patch)
treec953d63c8265d08f4654f2445525694d9237427a
parent37ab3a08269e30a0e6536f158ac31efbe126e60f (diff)
Add missing copyright.
-rw-r--r--sys/arch/amd64/stand/efiboot/efidev.c3
-rw-r--r--sys/arch/amd64/stand/efiboot/efidev.h32
2 files changed, 33 insertions, 2 deletions
diff --git a/sys/arch/amd64/stand/efiboot/efidev.c b/sys/arch/amd64/stand/efiboot/efidev.c
index 43393f6551a..df72c64a882 100644
--- a/sys/arch/amd64/stand/efiboot/efidev.c
+++ b/sys/arch/amd64/stand/efiboot/efidev.c
@@ -1,8 +1,9 @@
-/* $OpenBSD: efidev.c,v 1.1 2015/09/02 01:52:25 yasuoka Exp $ */
+/* $OpenBSD: efidev.c,v 1.2 2015/09/02 08:24:29 yasuoka Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff
* Copyright (c) 2003 Tobias Weingartner
+ * Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sys/arch/amd64/stand/efiboot/efidev.h b/sys/arch/amd64/stand/efiboot/efidev.h
index 8b3dc8e34ac..94a88915e12 100644
--- a/sys/arch/amd64/stand/efiboot/efidev.h
+++ b/sys/arch/amd64/stand/efiboot/efidev.h
@@ -1,7 +1,37 @@
+/* $OpenBSD: efidev.h,v 1.2 2015/09/02 08:24:29 yasuoka Exp $ */
+
+/*
+ * Copyright (c) 1996 Michael Shalayeff
+ * Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ */
+
+/* efidev.c */
void efid_init(struct diskinfo *, void *handle);
const char *efi_getdisklabel(efi_diskinfo_t, struct disklabel *);
int efiopen(struct open_file *, ...);
int efistrategy(void *, int, daddr32_t, size_t, void *, size_t *);
int eficlose(struct open_file *);
int efiioctl(struct open_file *, u_long, void *);
-