util: Use SPDX headers
Change-Id: I2858fdf74e782f425d56653491cdebe83c185d19 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41208 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
8e40275dab
commit
55189c9d33
|
@ -1,14 +1,4 @@
|
||||||
#
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
|
|
||||||
# GbE values for ICH9M
|
# GbE values for ICH9M
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,13 +1,4 @@
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
#
|
#
|
||||||
# X200 Liberated Flash Descriptor
|
# X200 Liberated Flash Descriptor
|
||||||
# Layout:
|
# Layout:
|
||||||
|
|
|
@ -1,17 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
#
|
#
|
||||||
# From the flashrom project but heavily modified since then.
|
# From the flashrom project but heavily modified since then.
|
||||||
#
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
|
|
||||||
EXIT_SUCCESS=0
|
EXIT_SUCCESS=0
|
||||||
EXIT_FAILURE=1
|
EXIT_FAILURE=1
|
||||||
|
|
|
@ -1,16 +1,6 @@
|
||||||
#!/usr/bin/env python2
|
#!/usr/bin/env python2
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
# devicetree_convert Tool to convert a DTB to a static C file
|
# devicetree_convert Tool to convert a DTB to a static C file
|
||||||
#
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
|
|
||||||
from pyfdt.pyfdt import FdtBlobParse
|
from pyfdt.pyfdt import FdtBlobParse
|
||||||
import argparse
|
import argparse
|
||||||
|
|
|
@ -1,18 +1,8 @@
|
||||||
|
/* SPDX-License-Identifier: BSD-2-Clause */
|
||||||
/** @file
|
/** @file
|
||||||
* Processor or Compiler specific defines and types for IA-32 architecture.
|
* Processor or Compiler specific defines and types for IA-32 architecture.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
This program and the accompanying materials are licensed and made available under
|
|
||||||
the terms and conditions of the BSD License that accompanies this distribution.
|
|
||||||
The full text of the license may be found at
|
|
||||||
http://opensource.org/licenses/bsd-license.php.
|
|
||||||
|
|
||||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __PROCESSOR_BIND_H__
|
#ifndef __PROCESSOR_BIND_H__
|
||||||
#define __PROCESSOR_BIND_H__
|
#define __PROCESSOR_BIND_H__
|
||||||
|
|
||||||
|
|
|
@ -1,17 +1,4 @@
|
||||||
/* This file defines standard ELF types, structures, and macros.
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||||
Copyright (C) 1995-2003,2004,2005,2006,2007 Free Software Foundation, Inc.
|
|
||||||
This file is part of the GNU C Library.
|
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
|
||||||
modify it under the terms of the GNU Lesser General Public
|
|
||||||
License as published by the Free Software Foundation; either
|
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _ELF_H
|
#ifndef _ELF_H
|
||||||
#define _ELF_H 1
|
#define _ELF_H 1
|
||||||
|
|
|
@ -1,34 +1,4 @@
|
||||||
/*
|
/* SPDX-License-Identifier: BSD-3-Clause or GPL-2.0-only */
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions are
|
|
||||||
* met:
|
|
||||||
*
|
|
||||||
* * Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* * 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.
|
|
||||||
* * Neither the name of Google Inc. nor the names of its
|
|
||||||
* contributors may be used to endorse or promote products derived from
|
|
||||||
* this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
* "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 COPYRIGHT
|
|
||||||
* OWNER 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.
|
|
||||||
*
|
|
||||||
* Alternatively, this software may be distributed under the terms of the
|
|
||||||
* GNU General Public License ("GPL") version 2 as published by the Free
|
|
||||||
* Software Foundation.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define _XOPEN_SOURCE 700
|
#define _XOPEN_SOURCE 700
|
||||||
|
|
||||||
|
|
|
@ -1,34 +1,4 @@
|
||||||
/*
|
/* SPDX-License-Identifier: BSD-3-Clause or GPL-2.0-only */
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions are
|
|
||||||
* met:
|
|
||||||
*
|
|
||||||
* * Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* * 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.
|
|
||||||
* * Neither the name of Google Inc. nor the names of its
|
|
||||||
* contributors may be used to endorse or promote products derived from
|
|
||||||
* this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
* "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 COPYRIGHT
|
|
||||||
* OWNER 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.
|
|
||||||
*
|
|
||||||
* Alternatively, this software may be distributed under the terms of the
|
|
||||||
* GNU General Public License ("GPL") version 2 as published by the Free
|
|
||||||
* Software Foundation.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef FLASHMAP_LIB_FMAP_H__
|
#ifndef FLASHMAP_LIB_FMAP_H__
|
||||||
#define FLASHMAP_LIB_FMAP_H__
|
#define FLASHMAP_LIB_FMAP_H__
|
||||||
|
|
|
@ -1,34 +1,4 @@
|
||||||
/*
|
/* SPDX-License-Identifier: BSD-3-Clause or GPL-2.0-only */
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions are
|
|
||||||
* met:
|
|
||||||
*
|
|
||||||
* * Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* * 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.
|
|
||||||
* * Neither the name of Google Inc. nor the names of its
|
|
||||||
* contributors may be used to endorse or promote products derived from
|
|
||||||
* this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
* "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 COPYRIGHT
|
|
||||||
* OWNER 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.
|
|
||||||
*
|
|
||||||
* Alternatively, this software may be distributed under the terms of the
|
|
||||||
* GNU General Public License ("GPL") version 2 as published by the Free
|
|
||||||
* Software Foundation.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,34 +1,4 @@
|
||||||
/*
|
/* SPDX-License-Identifier: BSD-3-Clause or GPL-2.0-only */
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions are
|
|
||||||
* met:
|
|
||||||
*
|
|
||||||
* * Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* * 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.
|
|
||||||
* * Neither the name of Google Inc. nor the names of its
|
|
||||||
* contributors may be used to endorse or promote products derived from
|
|
||||||
* this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
* "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 COPYRIGHT
|
|
||||||
* OWNER 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.
|
|
||||||
*
|
|
||||||
* Alternatively, this software may be distributed under the terms of the
|
|
||||||
* GNU General Public License ("GPL") version 2 as published by the Free
|
|
||||||
* Software Foundation.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef FLASHMAP_LIB_KV_PAIR_H__
|
#ifndef FLASHMAP_LIB_KV_PAIR_H__
|
||||||
#define FLASHMAP_LIB_KV_PAIR_H__
|
#define FLASHMAP_LIB_KV_PAIR_H__
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; version 2 of the License, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# DESCR: Check for a signed-off-by line on the latest git commit
|
# DESCR: Check for a signed-off-by line on the latest git commit
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; version 2 of the License, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# DESCR: Check that every board has a meaningful board_info.txt
|
# DESCR: Check that every board has a meaningful board_info.txt
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; version 2 of the License, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# DESCR: Check that every vendor and board has a Kconfig.name
|
# DESCR: Check that every vendor and board has a Kconfig.name
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; version 2 of the License, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# DESCR: Check that source files are not executable
|
# DESCR: Check that source files are not executable
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; version 2 of the License, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# DESCR: Verify that site-local is not in the coreboot repository
|
# DESCR: Verify that site-local is not in the coreboot repository
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,16 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# me_cleaner - Tool for partial deblobbing of Intel ME/TXE firmware images
|
# me_cleaner - Tool for partial deblobbing of Intel ME/TXE firmware images
|
||||||
#
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
|
|
||||||
from __future__ import division, print_function
|
from __future__ import division, print_function
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
#
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; version 2 of the License.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FIMMA_TEST_NAMEESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
|
|
||||||
MMA_LOCAL_DATA_STORAGE=/usr/local/mma
|
MMA_LOCAL_DATA_STORAGE=/usr/local/mma
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* lbtable.c
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#ifndef __MINGW32__
|
#ifndef __MINGW32__
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* layout_common.c
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* layout-text.c
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "layout-text.h"
|
#include "layout-text.h"
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* layout_file.h
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef LAYOUT_FILE_H
|
#ifndef LAYOUT_FILE_H
|
||||||
#define LAYOUT_FILE_H
|
#define LAYOUT_FILE_H
|
||||||
|
|
|
@ -1,42 +1,4 @@
|
||||||
/*
|
/* SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause */
|
||||||
* This file is dual-licensed. You can choose between:
|
|
||||||
* - The GNU GPL, version 2, as published by the Free Software Foundation
|
|
||||||
* - The revised BSD license (without advertising clause)
|
|
||||||
*
|
|
||||||
* ---------------------------------------------------------------------------
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; version 2 of the License.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
* ---------------------------------------------------------------------------
|
|
||||||
* 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.
|
|
||||||
* 3. The name of the author may not be used to endorse or promote products
|
|
||||||
* derived from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``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 AUTHOR 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.
|
|
||||||
* ---------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _CBFS_H_
|
#ifndef _CBFS_H_
|
||||||
#define _CBFS_H_
|
#define _CBFS_H_
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* nvramtool.c
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* opts.c
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "opts.h"
|
#include "opts.h"
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* opts.h
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef OPTS_H
|
#ifndef OPTS_H
|
||||||
#define OPTS_H
|
#define OPTS_H
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* cmos_lowlevel.c
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#if defined(__FreeBSD__)
|
#if defined(__FreeBSD__)
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* cmos_lowlevel.h
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef NVRAMTOOL_CMOS_LOWLEVEL_H
|
#ifndef NVRAMTOOL_CMOS_LOWLEVEL_H
|
||||||
#define NVRAMTOOL_CMOS_LOWLEVEL_H
|
#define NVRAMTOOL_CMOS_LOWLEVEL_H
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* cmos_ops.c
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "cmos_ops.h"
|
#include "cmos_ops.h"
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* cmos_ops.h
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CMOS_OPS_H
|
#ifndef CMOS_OPS_H
|
||||||
#define CMOS_OPS_H
|
#define CMOS_OPS_H
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* common.c
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* common.h
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef COMMON_H
|
#ifndef COMMON_H
|
||||||
#define COMMON_H
|
#define COMMON_H
|
||||||
|
|
|
@ -1,44 +1,8 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: BSD-3-Clause or GPL-2.0 */
|
||||||
* hexdump.c
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#include "hexdump.h"
|
#include "hexdump.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
/* hexdump.c
|
|
||||||
*
|
|
||||||
* 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 entire permission notice, including
|
|
||||||
* the following disclaimer of warranties.
|
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions, and the entire permission notice,
|
|
||||||
* including the following disclaimer in the documentation and/or other
|
|
||||||
* materials provided with the distribution.
|
|
||||||
* 3. The name(s) of the author(s) may not be used to endorse or promote
|
|
||||||
* products derived from this software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
|
||||||
* ALTERNATIVELY, this product may be distributed under the terms of the GNU
|
|
||||||
* General Public License, in which case the provisions of the GPL are
|
|
||||||
* required INSTEAD OF the above restrictions. (This clause is necessary due
|
|
||||||
* to a potential bad interaction between the GPL and the restrictions
|
|
||||||
* contained in a BSD-style copyright.)
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``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 AUTHOR(S) 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
static void addrprint(FILE * outfile, uint64_t address, int width);
|
static void addrprint(FILE * outfile, uint64_t address, int width);
|
||||||
|
|
||||||
/*--------------------------------------------------------------------------
|
/*--------------------------------------------------------------------------
|
||||||
|
|
|
@ -1,44 +1,8 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: BSD-3-Clause or GPL-2.0 */
|
||||||
* hexdump.h
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef _HEXDUMP_H
|
#ifndef _HEXDUMP_H
|
||||||
#define _HEXDUMP_H
|
#define _HEXDUMP_H
|
||||||
|
|
||||||
/* hexdump.h
|
|
||||||
*
|
|
||||||
* 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 entire permission notice, including
|
|
||||||
* the following disclaimer of warranties.
|
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions, and the entire permission notice,
|
|
||||||
* including the following disclaimer in the documentation and/or other
|
|
||||||
* materials provided with the distribution.
|
|
||||||
* 3. The name(s) of the author(s) may not be used to endorse or promote
|
|
||||||
* products derived from this software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
|
||||||
* ALTERNATIVELY, this product may be distributed under the terms of the GNU
|
|
||||||
* General Public License, in which case the provisions of the GPL are
|
|
||||||
* required INSTEAD OF the above restrictions. (This clause is necessary due
|
|
||||||
* to a potential bad interaction between the GPL and the restrictions
|
|
||||||
* contained in a BSD-style copyright.)
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``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 AUTHOR(S) 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* input_file.c
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "input_file.h"
|
#include "input_file.h"
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* input_file.h
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef INPUT_FILE_H
|
#ifndef INPUT_FILE_H
|
||||||
#define INPUT_FILE_H
|
#define INPUT_FILE_H
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* layout.c
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "layout.h"
|
#include "layout.h"
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* layout.h
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef LAYOUT_H
|
#ifndef LAYOUT_H
|
||||||
#define LAYOUT_H
|
#define LAYOUT_H
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* lbtable.c
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* lbtable.h
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef LBTABLE_H
|
#ifndef LBTABLE_H
|
||||||
#define LBTABLE_H
|
#define LBTABLE_H
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* reg_expr.c
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
|
@ -1,18 +1,4 @@
|
||||||
/*****************************************************************************\
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
* reg_expr.h
|
|
||||||
*****************************************************************************
|
|
||||||
* Please also read the file DISCLAIMER which is included in this software
|
|
||||||
* distribution.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License (as published by the
|
|
||||||
* Free Software Foundation) version 2, dated June 1991.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
||||||
* conditions of the GNU General Public License for more details.
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef REG_EXPR_H
|
#ifndef REG_EXPR_H
|
||||||
#define REG_EXPR_H
|
#define REG_EXPR_H
|
||||||
|
|
Loading…
Reference in New Issue