<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/EmbeddedPkg/Include/Library/DebugAgentTimerLib.h, branch master</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-02-23T21:01:28+00:00</updated>
<entry>
<title>EmbeddedPkg: Replace include guards with #pragma once</title>
<updated>2026-02-23T21:01:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-02-03T18:18:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=de527ff60653a3ed7cf0e313695267b53c120a09'/>
<id>urn:sha1:de527ff60653a3ed7cf0e313695267b53c120a09</id>
<content type='text'>
Replace traditional `#ifndef`/`#define`/`#endif` include guards with
`#pragma` once.

`#pragma once` is a widely supported preprocessor directive that
prevents header files from being included multiple times. It is
supported by all toolchains used to build edk2: GCC, Clang/LLVM, and
MSVC.

Compared to macro-based include guards, `#pragma once`:

- Eliminates the risk of macro name collisions or copy/paste errors
  where two headers inadvertently use the same guard macro.
- Eliminate inconsistency in the way include guard macros are named
  (e.g., some files use `__FILE_H__`, others use `FILE_H_`, etc.).
- Reduces boilerplate (three lines replaced by one).
- Avoids polluting the macro namespace with guard symbols.
- Can improve build times as the preprocessor can skip re-opening the
  file entirely, rather than re-reading it to find the matching
  `#endif` ("multiple-include optimization").
  - Note that some compilers may already optimize traditional include
    guards, by recognzining the idiomatic pattern.

This change is made acknowledging that overall portability of the
code will technically be reduced, as `#pragma once` is not part of the
C/C++ standards.

However, this is considered acceptable given:

1. edk2 already defines a subset of supported compilers in
   BaseTools/Conf/tools_def.template, all of which have supported
   `#pragma once` for over two decades.
2. There have been concerns raised to the project about inconsistent
   include guard naming and potential macro collisions.

Approximate compiler support dates:

- MSVC: Supported since Visual C++ 4.2 (1996)
- GCC: Supported since 3.4 (2004)
  (http://gnu.ist.utl.pt/software/gcc/gcc-3.4/changes.html)
- Clang (LLVM based): Since initial release in 2007

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>EmbeddedPkg: Apply uncrustify changes</title>
<updated>2021-12-07T17:24:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2021-12-05T22:53:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e7108d0e9655b1795c94ac372b0449f28dd907df'/>
<id>urn:sha1:e7108d0e9655b1795c94ac372b0449f28dd907df</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the EmbeddedPkg package

Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;leif@nuviainc.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Andrew Fish &lt;afish@apple.com&gt;
</content>
</entry>
<entry>
<title>EmbeddedPkg: Fix various typos</title>
<updated>2019-07-04T11:21:04+00:00</updated>
<author>
<name>Cœur</name>
<email>coeur@gmx.fr</email>
</author>
<published>2019-07-03T13:25:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c6a72cd79465594876626e738466441d8b3d61ca'/>
<id>urn:sha1:c6a72cd79465594876626e738466441d8b3d61ca</id>
<content type='text'>
Fix various typos in EmbeddedPkg.

Signed-off-by: Coeur &lt;coeur@gmx.fr&gt;
Reviewed-by: Leif Lindholm &lt;leif.lindholm@linaro.org&gt;
</content>
</entry>
<entry>
<title>EmbeddedPkg: Replace BSD License with BSD+Patent License</title>
<updated>2019-04-09T17:57:58+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2019-04-03T23:03:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=878b807a435eefbb1d76f9bdec30cb3526521a5e'/>
<id>urn:sha1:878b807a435eefbb1d76f9bdec30cb3526521a5e</id>
<content type='text'>
https://bugzilla.tianocore.org/show_bug.cgi?id=1373

Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:

  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html

RFCs with detailed process for the license change:

  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Leif Lindholm &lt;leif.lindholm@linaro.org&gt;
</content>
</entry>
<entry>
<title>EmbeddedPkg: Rectify file modes</title>
<updated>2016-02-02T11:42:51+00:00</updated>
<author>
<name>Evan Lloyd</name>
<email>evan.lloyd@arm.com</email>
</author>
<published>2016-02-02T11:42:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ccca560b4f22f5f731a11abdb3f79fe7306bfd72'/>
<id>urn:sha1:ccca560b4f22f5f731a11abdb3f79fe7306bfd72</id>
<content type='text'>
Problems have been encountered because some of the source files have
execute permission set.  This can cause git to report them as changed
when they are checked out onto a file system with inherited permissions.
This has been seen using Cygwin, MinGW and PowerShell Git.

This patch makes no change to source file content, and only aims to
correct the file modes/permissions.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Evan Lloyd &lt;evan.lloyd@arm.com&gt;
Reviewed-by: Leif Lindholm &lt;leif.lindholm@linaro.org&gt;

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19789 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
<entry>
<title>ARM Packages: Removed trailing spaces</title>
<updated>2014-08-19T13:29:52+00:00</updated>
<author>
<name>Ronald Cron</name>
<email>ronald.cron@arm.com</email>
</author>
<published>2014-08-19T13:29:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=3402aac7d985bf8a9f9d3c639f3fe93609380513'/>
<id>urn:sha1:3402aac7d985bf8a9f9d3c639f3fe93609380513</id>
<content type='text'>
Trailing spaces create issue/warning when generating/applying patches.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ronald Cron &lt;ronald.cron@arm.com&gt;
Reviewed-By: Olivier Martin &lt;olivier.martin@arm.com&gt;



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15833 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
<entry>
<title>ARM Packages: Fixed line endings</title>
<updated>2013-01-25T11:28:06+00:00</updated>
<author>
<name>oliviermartin</name>
<email>oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524</email>
</author>
<published>2013-01-25T11:28:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1e57a46299244793beb27e74be171d1540606999'/>
<id>urn:sha1:1e57a46299244793beb27e74be171d1540606999</id>
<content type='text'>
This large code change only modifies the line endings to be CRLF to be
compliant with the EDK2 coding convention document.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14088 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
<entry>
<title>Fix newline at end of file issue.</title>
<updated>2010-05-18T21:01:12+00:00</updated>
<author>
<name>andrewfish</name>
<email>andrewfish@6f19259b-4bc3-4df7-8a09-765794883524</email>
</author>
<published>2010-05-18T21:01:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=31e4a57f6460265515233833bead6202e7304e07'/>
<id>urn:sha1:31e4a57f6460265515233833bead6202e7304e07</id>
<content type='text'>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10508 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
<entry>
<title>Update the copyright notice format</title>
<updated>2010-04-29T12:40:51+00:00</updated>
<author>
<name>hhtian</name>
<email>hhtian@6f19259b-4bc3-4df7-8a09-765794883524</email>
</author>
<published>2010-04-29T12:40:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=60274ccab831d7874129a6b6c271969418296960'/>
<id>urn:sha1:60274ccab831d7874129a6b6c271969418296960</id>
<content type='text'>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10446 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
<entry>
<title>Add the beginning of a GDB based Debug Agent. IA-32 and X64 don't have low level interrupt code yet. I've been testing on ARM. </title>
<updated>2010-04-03T00:41:42+00:00</updated>
<author>
<name>andrewfish</name>
<email>andrewfish@6f19259b-4bc3-4df7-8a09-765794883524</email>
</author>
<published>2010-04-03T00:41:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=969eba7b0df70c9aa261eaf005085568b88de87c'/>
<id>urn:sha1:969eba7b0df70c9aa261eaf005085568b88de87c</id>
<content type='text'>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10334 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
</feed>
