mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 11:14:18 +01:00
49025a1109
All of these used the 'immediately at beginning' variation of the BSD-2-Clause license. This wasn't intentional, just what I copied from from a random file in the tree back in 2005. It was not an intentional decision. The different arch bus.h files are a mix of BSD-2-Clause and BSD-4-Clause that have various copyright holders (Charles M. Hannum, Christopher G. Demetriou, The NetBSD Foundation and KATO Takenori), and some of the content of these files were likely copied from there. However, apart from the uncopyrightable interface lines, there are very few comments. It's unclear if these comments are 'original material' here to copyright, but to the extent that there is, license it under the standard BSD-2-Clause copyright that's the norm for the project today. In any event, the standard BSD-2-Clause is also closer to those originals. In addition, FreeBSD uses different type definitions than the original NetBSD code in part. The comments that were copied have been copied a lot, but appear in NetBSD's bus.h files in NetBSD 1.3. While I'm here, assign the copyright, to the extent any exists from me, to the FreeBSD Foundation. I just cut and pasted these into _bus.h from the different machine files and those files have a rich history of modification from the original imports from NetBSD over more than 25 years so it's tricky to say who, exactly, wrote each bit. Given the size of the files, this seems like the best compromise. Also add an acknowledgement to the NetBSD 1.3 bus.h files and their authors (there were no additional FreeBSD authors listed in the various sys/*/include/bus.h files). Finally, use the SPDX identifier instead of multiple copies of the text. Differential Revision: https://reviews.freebsd.org/D42532 Sponsored by: Netflix
31 lines
629 B
C
31 lines
629 B
C
/*-
|
|
* Copyright (c) 2005 The FreeBSD Foundation.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*
|
|
* Derived in part from NetBSD's bus.h files by (alphabetically):
|
|
* Christopher G. Demetriou
|
|
* Charles M. Hannum
|
|
* Jason Thorpe
|
|
* The NetBSD Foundation.
|
|
*/
|
|
|
|
#ifndef POWERPC_INCLUDE__BUS_H
|
|
#define POWERPC_INCLUDE__BUS_H
|
|
|
|
#include <vm/vm_param.h>
|
|
|
|
/*
|
|
* Bus address and size types
|
|
*/
|
|
typedef vm_paddr_t bus_addr_t;
|
|
typedef vm_size_t bus_size_t;
|
|
|
|
/*
|
|
* Access methods for bus resources and address space.
|
|
*/
|
|
typedef struct bus_space *bus_space_tag_t;
|
|
typedef vm_offset_t bus_space_handle_t;
|
|
|
|
#endif /* POWERPC_INCLUDE__BUS_H */
|