| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2013 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2014 Google Inc. | ||
| * Copyright (C) 2003-2004 Olivier Houchard | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2013 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2013 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * Copyright (C) 2008 coresystems GmbH | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de> | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 coresystems GmbH | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2013 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2014 Google Inc. | ||
| * Copyright (C) 2003-2004 Olivier Houchard | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2013 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2014 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * Copyright (C) 2008 coresystems GmbH | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2018 Google Inc | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2014 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de> | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 coresystems GmbH | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2011 secunet Security Networks AG | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2011 secunet Security Networks AG | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Jordan Crouse <jordan@cosmicpenguin.net> | ||
| * Copyright (C) 2013 Google, Inc. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Jordan Crouse <jordan@cosmicpenguin.net> | ||
| * Copyright (C) 2012 Google, Inc. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2013 Google, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2015 Google, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2017 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2013 coresystems GmbH | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (c) 2012 The Chromium OS Authors. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2010 coresystems GmbH | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2013 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (c) 2012 The Chromium OS Authors. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2010 coresystems GmbH | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2011 secunet Security Networks AG | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * Copyright (C) 2008 coresystems GmbH | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2010 coresystems GmbH | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * Copyright 2013 Google Inc. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2012 secunet Security Networks AG | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2012 secunet Security Networks AG | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2012 secunet Security Networks AG | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2012 secunet Security Networks AG | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2011 secunet Security Networks AG | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2010 coresystems GmbH | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * Copyright (C) 2016 Prodrive Technologies | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2015 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2015 Rockchip Electronics | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2015 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2010 coresystems GmbH | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2015 Rockchip Electronics | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 coresystems GmbH | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008-2010 coresystems GmbH | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2018 Google LLC | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2014 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2013 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2018 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2013 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * Copyright (C) 2008 coresystems GmbH | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de> | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 coresystems GmbH | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| ## | ||
| ## | ||
| ## Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| ## Copyright (C) 2008 coresystems GmbH | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 coresystems GmbH | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * Copyright (C) 2009 coresystems GmbH | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Uwe Hermann <uwe@hermann-uwe.de> | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2013 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2015 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2013 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * It has originally been taken from the FreeBSD project. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Uwe Hermann <uwe@hermann-uwe.de> | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright 2015 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * Copyright (C) 2008-2010 coresystems GmbH | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * It was originally taken from the OpenBSD project. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 coresystems GmbH | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Jordan Crouse <jordan@cosmicpenguin.net> | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| ## | ||
| ## | ||
| ## Copyright (C) 2011 secunet Security Networks AG | ||
| ## | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2011 secunet Security Networks AG | ||
| * Copyright (C) 2013 Google, Inc. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2011 secunet Security Networks AG | ||
| * Copyright (C) 2013 Google, Inc. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2013 Google, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| ## | ||
| ## | ||
| ## Copyright (C) 2011 secunet Security Networks AG | ||
| ## | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| ## | ||
| ## | ||
| ## Copyright (C) 2010 coresystems GmbH | ||
| ## | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2010 coresystems GmbH | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| ## | ||
| ## | ||
| ## Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| ## | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2008 Advanced Micro Devices, Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2018 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2018 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2018 Google Inc. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* | ||
| * | ||
| * Copyright (C) 2012 secunet Security Networks AG | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,36 @@ | ||
| # SPDX-License-Identifier: GPL-2.0-only | ||
|
|
||
| config ACPI_AMD_HARDWARE_SLEEP_VALUES | ||
| def_bool n | ||
| help | ||
| Provide common definitions for AMD hardware PM1_CNT register sleep | ||
| values. | ||
|
|
||
| config ACPI_CPU_STRING | ||
| string | ||
| default "\\_SB.CP%02d" | ||
| depends on HAVE_ACPI_TABLES | ||
| help | ||
| Sets the ACPI name string in the processor scope as written by | ||
| the acpigen function. Default is \_SB.CPxx. Note that you need | ||
| the \ escape character in the string. | ||
|
|
||
| config ACPI_HAVE_PCAT_8259 | ||
| def_bool y if !ACPI_NO_PCAT_8259 | ||
|
|
||
| config ACPI_INTEL_HARDWARE_SLEEP_VALUES | ||
| def_bool n | ||
| help | ||
| Provide common definitions for Intel hardware PM1_CNT register sleep | ||
| values. | ||
|
|
||
| config ACPI_NO_PCAT_8259 | ||
| bool | ||
| help | ||
| Selected by platforms that don't expose a PC/AT 8259 PIC pair. | ||
|
|
||
| config HAVE_ACPI_TABLES | ||
| bool | ||
| help | ||
| This variable specifies whether a given board has ACPI table support. | ||
| It is usually set in mainboard/*/Kconfig. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,23 @@ | ||
| # SPDX-License-Identifier: GPL-2.0-only | ||
|
|
||
| ifeq ($(CONFIG_HAVE_ACPI_TABLES),y) | ||
|
|
||
| ramstage-y += acpi.c | ||
| ramstage-y += acpigen.c | ||
| ramstage-y += acpigen_dsm.c | ||
| ramstage-y += acpigen_ps2_keybd.c | ||
| ramstage-y += acpigen_usb.c | ||
| ramstage-y += device.c | ||
| ramstage-y += pld.c | ||
| ramstage-y += sata.c | ||
| ramstage-y += soundwire.c | ||
|
|
||
| ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/acpi_tables.c),) | ||
| ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/acpi_tables.c | ||
| endif | ||
| $(eval $(call asl_template,dsdt)) | ||
| ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/fadt.c),) | ||
| ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/fadt.c | ||
| endif | ||
|
|
||
| endif # CONFIG_GENERATE_ACPI_TABLES |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,136 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
|
|
||
| #include <acpi/acpi.h> | ||
| #include <acpi/acpi_device.h> | ||
| #include <acpi/acpigen.h> | ||
| #include <acpi/acpigen_usb.h> | ||
|
|
||
| static const char *power_role_to_str(enum usb_typec_power_role power_role) | ||
| { | ||
| switch (power_role) { | ||
| case TYPEC_POWER_ROLE_SOURCE: | ||
| return "source"; | ||
| case TYPEC_POWER_ROLE_SINK: | ||
| return "sink"; | ||
| case TYPEC_POWER_ROLE_DUAL: | ||
| return "dual"; | ||
| default: | ||
| return "unknown"; | ||
| } | ||
| } | ||
|
|
||
| static const char *try_power_role_to_str(enum usb_typec_try_power_role try_power_role) | ||
| { | ||
| switch (try_power_role) { | ||
| case TYPEC_TRY_POWER_ROLE_NONE: | ||
| /* | ||
| * This should never get returned; if there is no try-power role for a device, | ||
| * then the try-power-role field is not added to the DSD. Thus, this is just | ||
| * for completeness. | ||
| */ | ||
| return "none"; | ||
| case TYPEC_TRY_POWER_ROLE_SINK: | ||
| return "sink"; | ||
| case TYPEC_TRY_POWER_ROLE_SOURCE: | ||
| return "source"; | ||
| default: | ||
| return "unknown"; | ||
| } | ||
| } | ||
|
|
||
| static const char *data_role_to_str(enum usb_typec_data_role data_role) | ||
| { | ||
| switch (data_role) { | ||
| case TYPEC_DATA_ROLE_DFP: | ||
| return "host"; | ||
| case TYPEC_DATA_ROLE_UFP: | ||
| return "device"; | ||
| case TYPEC_DATA_ROLE_DUAL: | ||
| return "dual"; | ||
| default: | ||
| return "unknown"; | ||
| } | ||
| } | ||
|
|
||
| /* Add port capabilities as DP properties */ | ||
| static void add_port_caps(struct acpi_dp *dsd, | ||
| const struct typec_connector_class_config *config) | ||
| { | ||
| acpi_dp_add_string(dsd, "power-role", power_role_to_str(config->power_role)); | ||
| acpi_dp_add_string(dsd, "data-role", data_role_to_str(config->data_role)); | ||
|
|
||
| if (config->try_power_role != TYPEC_TRY_POWER_ROLE_NONE) | ||
| acpi_dp_add_string(dsd, "try-power-role", | ||
| try_power_role_to_str(config->try_power_role)); | ||
| } | ||
|
|
||
| static void add_device_ref(struct acpi_dp *dsd, | ||
| const char *prop_name, | ||
| const struct device *dev) | ||
| { | ||
| const char *path; | ||
| char *fresh; | ||
|
|
||
| if (!dev) | ||
| return; | ||
|
|
||
| /* | ||
| * Unfortunately, the acpi_dp_* API doesn't write out the data immediately, thus we need | ||
| * different storage areas for all of the strings, so strdup() is used for that. It is | ||
| * safe to use strdup() here, because the strings are generated at build-time and are | ||
| * guaranteed to be NUL-terminated (they come from the devicetree). | ||
| */ | ||
| path = acpi_device_path(dev); | ||
| if (path) { | ||
| fresh = strdup(path); | ||
| if (fresh) | ||
| acpi_dp_add_reference(dsd, prop_name, fresh); | ||
| } | ||
| } | ||
|
|
||
| static void add_device_references(struct acpi_dp *dsd, | ||
| const struct typec_connector_class_config *config) | ||
| { | ||
| /* | ||
| * Add references to the USB port objects so that the consumer of this information can | ||
| * know whether the port supports USB2, USB3, and/or USB4. | ||
| */ | ||
| add_device_ref(dsd, "usb2-port", config->usb2_port); | ||
| add_device_ref(dsd, "usb3-port", config->usb3_port); | ||
| add_device_ref(dsd, "usb4-port", config->usb4_port); | ||
|
|
||
| /* | ||
| * Add references to the ACPI device(s) which control the orientation, USB data role and | ||
| * data muxing. | ||
| */ | ||
| add_device_ref(dsd, "orientation-switch", config->orientation_switch); | ||
| add_device_ref(dsd, "usb-role-switch", config->usb_role_switch); | ||
| add_device_ref(dsd, "mode-switch", config->mode_switch); | ||
| } | ||
|
|
||
| void acpigen_write_typec_connector(const struct typec_connector_class_config *config, | ||
| int port_number, | ||
| add_custom_dsd_property_cb add_custom_dsd_property) | ||
| { | ||
| struct acpi_dp *dsd; | ||
| char name[5]; | ||
|
|
||
| /* Create a CONx device */ | ||
| snprintf(name, sizeof(name), "CON%1X", port_number); | ||
| acpigen_write_device(name); | ||
| acpigen_write_name_integer("_ADR", port_number); | ||
|
|
||
| dsd = acpi_dp_new_table("_DSD"); | ||
|
|
||
| /* Write out the _DSD table */ | ||
| acpi_dp_add_integer(dsd, "port-number", port_number); | ||
| add_port_caps(dsd, config); | ||
| add_device_references(dsd, config); | ||
|
|
||
| /* Allow client to add custom properties if desired */ | ||
| if (add_custom_dsd_property) | ||
| add_custom_dsd_property(dsd, port_number); | ||
| acpi_dp_write(dsd); | ||
|
|
||
| acpigen_pop_len(); /* Device */ | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| /* | ||
| * Early initialization code for ARM architecture. | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| #include <arch/asm.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
| /* | ||
| * cache.c: Cache maintenance routines for ARMv7-A and ARMv7-R | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| #include <stdint.h> | ||
| #include <types.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| .text | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| #include <arch/exception.h> | ||
| #include <console/console.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| #include <assert.h> | ||
| #include <commonlib/helpers.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <thread.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <arch/cache.h> | ||
| #include <program_loading.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| #include <stdint.h> | ||
| #include <arch/clock.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| #include <arch/cpu.h> | ||
| #include <commonlib/helpers.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
|
|
||
| #include <console/console.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
|
|
||
| #include <stddef.h> | ||
| #include <string.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <build.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARM_ASM_H | ||
| #define __ARM_ASM_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef ASM_ARM_BOOT_H | ||
| #define ASM_ARM_BOOT_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef _BYTEORDER_H | ||
| #define _BYTEORDER_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef _ARCH_CBCONFIG_H_ | ||
| #define _ARCH_CBCONFIG_H_ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARM_CLOCK_H_ | ||
| #define __ARM_CLOCK_H_ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <rules.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef ARCH_HLT_H | ||
| #define ARCH_HLT_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef ARCH_ARM_PCI_OPS_H | ||
| #define ARCH_ARM_PCI_OPS_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARCH_STAGES_H | ||
| #define __ARCH_STAGES_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
| /* | ||
| * cache.h: Cache maintenance API for ARM | ||
| */ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARCH_CPU_H__ | ||
| #define __ARCH_CPU_H__ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| #ifndef _ARCH_EXCEPTION_H | ||
| #define _ARCH_EXCEPTION_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef _ARCH_SMP_SPINLOCK_H | ||
| #define _ARCH_SMP_SPINLOCK_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
|
|
||
| #ifndef ARMV7_H | ||
| #define ARMV7_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
| /* | ||
| * cache.h: Cache maintenance API for ARM | ||
| */ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARCH_CPU_H__ | ||
| #define __ARCH_CPU_H__ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| #ifndef _ARCH_EXCEPTION_H | ||
| #define _ARCH_EXCEPTION_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
|
|
||
| /* Standard clock speeds */ | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef ARCH_SMP_SPINLOCK_H | ||
| #define ARCH_SMP_SPINLOCK_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
|
|
||
| #if defined __GNUC__ | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
|
|
||
| #if defined __GNUC__ | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| /* Based on linux/arch/arm/lib/muldi3.S */ | ||
|
|
||
| #if defined __GNUC__ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| /* Based on linux/arch/arm/lib/ucmpdi2.S */ | ||
|
|
||
| #if defined __GNUC__ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include "libgcc.h" | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause */ | ||
|
|
||
| #include <arch/asm.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include "libgcc.h" | ||
| uint64_t __umoddi3(uint64_t num, uint64_t den) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| /* | ||
| * Based on linux/arch/arm/lib/memcpy.S | ||
| */ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| /* Based on linux/arch/arm/lib/memmove.S */ | ||
|
|
||
| #include <arch/asm.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| /* | ||
| * Based on linux/arch/arm/lib/memset.S | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <bootmem.h> | ||
| #include <boot/tables.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <timer.h> | ||
| #include <arch/lib_helpers.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,4 @@ | ||
| ## SPDX-License-Identifier: GPL-2.0-only | ||
|
|
||
| ifeq ($(CONFIG_ARCH_ARMV8_EXTENSION),0) | ||
| march = armv8-a | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| /* | ||
| * Early initialization code for aarch64 (a.k.a. armv8) | ||
| */ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
| /* | ||
| * cache.c: Cache maintenance routines for ARMv8 (aarch64) | ||
| * | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| #include <stdint.h> | ||
| #include <types.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| #include <assert.h> | ||
| #include <stdint.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <arch/lib_helpers.h> | ||
| #include <arch/mmu.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <cbmem.h> | ||
| #include <arch/lib_helpers.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
|
|
||
| #include <console/console.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
|
|
||
| #include <cbfs.h> | ||
| #include <commonlib/bsd/compression.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <build.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARCH_ACPI_H_ | ||
| #define __ARCH_ACPI_H_ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARCH_ACPIGEN_H_ | ||
| #define __ARCH_ACPIGEN_H_ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARM_ARM64_ASM_H | ||
| #define __ARM_ARM64_ASM_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef ASM_ARM64_BOOT_H | ||
| #define ASM_ARM64_BOOT_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef _BYTEORDER_H | ||
| #define _BYTEORDER_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef _ARCH_CBCONFIG_H_ | ||
| #define _ARCH_CBCONFIG_H_ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <rules.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef ARCH_HLT_H | ||
| #define ARCH_HLT_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARCH_MPIDR_H__ | ||
| #define __ARCH_MPIDR_H__ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef ARCH_ARM64_PCI_OPS_H | ||
| #define ARCH_ARM64_PCI_OPS_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARCH_STAGES_H | ||
| #define __ARCH_STAGES_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| /* | ||
| * Based on arch/arm/include/asm/barrier.h | ||
| */ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
| /* | ||
| * cache.h: Cache maintenance API for ARM64 | ||
| */ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARCH_CPU_H__ | ||
| #define __ARCH_CPU_H__ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| #ifndef _ARCH_EXCEPTION_H | ||
| #define _ARCH_EXCEPTION_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARCH_ARM64_MMU_H__ | ||
| #define __ARCH_ARM64_MMU_H__ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __BL31_H__ | ||
| #define __BL31_H__ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
|
|
||
| /* Standard clock speeds */ | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <arch/asm.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <arch/asm.h> | ||
| /* | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <arch/asm.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
|
|
||
| #include <types.h> | ||
| #include <device/mmio.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <arch/exception.h> | ||
| #include <arch/stages.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <bootmem.h> | ||
| #include <boot/tables.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <arch/cache.h> | ||
| #include <arch/lib_helpers.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <program_loading.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| /* | ||
| * Early initialization code for POWER8. | ||
| */ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef _BYTEORDER_H | ||
| #define _BYTEORDER_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| #ifndef ARCH_CACHE_H | ||
| #define ARCH_CACHE_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef _ARCH_CBCONFIG_H_ | ||
| #define _ARCH_CBCONFIG_H_ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARCH_CPU_H__ | ||
| #define __ARCH_CPU_H__ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef _ARCH_EXCEPTION_H | ||
| #define _ARCH_EXCEPTION_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| static __always_inline void hlt(void) | ||
| { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef _ASM_IO_H | ||
| #define _ASM_IO_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARCH_MMIO_H__ | ||
| #define __ARCH_MMIO_H__ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARCH_STAGES_H | ||
| #define __ARCH_STAGES_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| .section ".rom.data", "a", @progbits | ||
| .section ".rom.text", "ax", @progbits |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <boot_device.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <bootmem.h> | ||
| #include <boot/tables.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <device/mmio.h> | ||
| #include <arch/encoding.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <program_loading.h> | ||
| #include <vm.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| /* | ||
| * Early initialization code for RISC-V | ||
| */ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| #ifndef __ARCH_BARRIER_H_ | ||
| #define __ARCH_BARRIER_H__ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef _BYTEORDER_H | ||
| #define _BYTEORDER_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| #ifndef ARCH_CACHE_H | ||
| #define ARCH_CACHE_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef _ARCH_CBCONFIG_H_ | ||
| #define _ARCH_CBCONFIG_H_ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARCH_CPU_H__ | ||
| #define __ARCH_CPU_H__ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-4-Clause-UC */ | ||
|
|
||
| #ifndef RISCV_CSR_ENCODING_H | ||
| #define RISCV_CSR_ENCODING_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-4-Clause-UC */ | ||
|
|
||
| #ifndef _RISCV_ERRNO_BASE_H | ||
| #define _RISCV_ERRNO_BASE_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-3-Clause */ | ||
|
|
||
| #ifndef _ARCH_EXCEPTION_H | ||
| #define _ARCH_EXCEPTION_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <rules.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| static __always_inline void hlt(void) | ||
| { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARCH_MMIO_H__ | ||
| #define __ARCH_MMIO_H__ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __RISCV_PMP_H__ | ||
| #define __RISCV_PMP_H__ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-4-Clause-UC */ | ||
|
|
||
| #ifndef _RISCV_ATOMIC_H | ||
| #define _RISCV_ATOMIC_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef _RISCV_SMP_H | ||
| #define _RISCV_SMP_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef ARCH_SMP_SPINLOCK_H | ||
| #define ARCH_SMP_SPINLOCK_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef __ARCH_STAGES_H | ||
| #define __ARCH_STAGES_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-4-Clause-UC */ | ||
|
|
||
| #ifndef _BITS_H | ||
| #define _BITS_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef _MCALL_H | ||
| #define _MCALL_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #ifndef RISCV_SBI_H | ||
| #define RISCV_SBI_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-4-Clause-UC */ | ||
|
|
||
| #ifndef _VM_H | ||
| #define _VM_H | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: BSD-4-Clause-UC */ | ||
|
|
||
| #include <mcall.h> | ||
| #include <string.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <stddef.h> | ||
| #include <stdint.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <delay.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <sbi/fw_dynamic.h> | ||
| #include <arch/boot.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <program_loading.h> | ||
| #include <stdint.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <arch/encoding.h> | ||
| #include <stdint.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <arch/encoding.h> | ||
| #include <bits.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <mcall.h> | ||
| #include <stdint.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <stddef.h> | ||
| #include <arch/encoding.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <bootmem.h> | ||
| #include <boot/tables.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| /* | ||
| * Early initialization code for riscv | ||
| */ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| /* | ||
| * Early initialization code for riscv | ||
| */ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,7 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| /* | ||
| #include <acpi/acpi.h> | ||
| DefinitionBlock ( | ||
| "DSDT.AML", | ||
| "DSDT", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| /* | ||
| Scope(\_SB) { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
|
|
||
| /* Status and notification definitions */ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <commonlib/helpers.h> | ||
| #include <console/console.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <cpu/x86/post_code.h> | ||
| #include <arch/ram_segs.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <cbmem.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <arch/io.h> | ||
| #include <arch/cache.h> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <cpu/cpu.h> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| /* This file is included inside a SECTIONS block */ | ||
|
|
||
| _STACK_SIZE = CONFIG_EARLYRAM_BSP_STACK_SIZE; | ||
| _ = ASSERT(_STACK_SIZE > 0x0, "EARLYRAM_BSP_STACK_SIZE is not configured"); | ||
|
|
||
| _CONSOLE_SIZE = CONFIG_PRERAM_CBMEM_CONSOLE_SIZE; | ||
| _ = ASSERT(_CONSOLE_SIZE > 0x0, "PRERAM_CBMEM_CONSOLE_SIZE is not configured"); | ||
|
|
||
| _TIMESTAMPS_SIZE = 0x200; | ||
| #if !CONFIG(NO_FMAP_CACHE) | ||
| _FMAP_SIZE = FMAP_SIZE; | ||
| #else | ||
| _FMAP_SIZE = 0; | ||
| #endif | ||
|
|
||
| /* | ||
| * The PRERAM_CBMEM_CONSOLE, TIMESTAMP, and FMAP_CACHE regions are shared | ||
| * between the pre-ram stages (bootblock, romstage, etc). We need to assign a | ||
| * fixed size and consistent link address so they can be shared between stages. | ||
| * | ||
| * The stack area is not shared between stages, but is defined here for | ||
| * convenience. | ||
| */ | ||
| . = CONFIG_X86_RESET_VECTOR - ARCH_STACK_ALIGN_SIZE - _STACK_SIZE - _CONSOLE_SIZE - _TIMESTAMPS_SIZE - _FMAP_SIZE - VB2_FIRMWARE_WORKBUF_RECOMMENDED_SIZE; | ||
|
|
||
| _ = ASSERT(. > _eprogram, "Not enough room for .earlyram.data. Try increasing C_ENV_BOOTBLOCK_SIZE, or decreasing either EARLYRAM_BSP_STACK_SIZE or PRERAM_CBMEM_CONSOLE_SIZE."); | ||
|
|
||
| .stack ALIGN(ARCH_STACK_ALIGN_SIZE) (NOLOAD) : { | ||
| EARLYRAM_STACK(., _STACK_SIZE) | ||
| } | ||
|
|
||
| .persistent ALIGN(ARCH_POINTER_ALIGN_SIZE) (NOLOAD) : { | ||
| PRERAM_CBMEM_CONSOLE(., _CONSOLE_SIZE) | ||
| TIMESTAMP(., _TIMESTAMPS_SIZE) | ||
| #if !CONFIG(NO_FMAP_CACHE) | ||
| FMAP_CACHE(., FMAP_SIZE) | ||
| #endif | ||
|
|
||
| #if CONFIG(VBOOT_STARTS_IN_BOOTBLOCK) | ||
| ALIGN_COUNTER(16); | ||
| VBOOT2_WORK(., VB2_FIRMWARE_WORKBUF_RECOMMENDED_SIZE) | ||
| #endif | ||
| } | ||
|
|
||
| _ = ASSERT(. <= CONFIG_X86_RESET_VECTOR, "Earlyram data regions don't fit below the reset vector!"); |