|
Re: Progress on getting Uncrustify working for EDK2?
Hey Mike,
Hey Andrew,
I'll just reply to both mails at once :)
Thanks! I'd keep STATIC actually just for the sake of not doing no-op changes that do not really do anything and for consistency with
Hey Mike,
Hey Andrew,
I'll just reply to both mails at once :)
Thanks! I'd keep STATIC actually just for the sake of not doing no-op changes that do not really do anything and for consistency with
|
By
Marvin Häuser
·
#81612
·
|
|
Re: Progress on getting Uncrustify working for EDK2?
This issue is independent of CONST. I’m not sure a coding style tool is smart enough to catch this generically? You need an understanding of C types to know if the local variable assignment is going
This issue is independent of CONST. I’m not sure a coding style tool is smart enough to catch this generically? You need an understanding of C types to know if the local variable assignment is going
|
By
Andrew Fish
·
#81611
·
|
|
Re: Progress on getting Uncrustify working for EDK2?
Hi Marvin,
Some comments below.
Mike
Hi Marvin,
Some comments below.
Mike
|
By
Michael D Kinney
·
#81610
·
|
|
Re: Progress on getting Uncrustify working for EDK2?
Hi Leif,
Thanks for the feedback. Adjusting the EDK II C Coding Style should absolutely
be part of this discussion. We need to work towards specific proposals. Here are
the current open bugs
Hi Leif,
Thanks for the feedback. Adjusting the EDK II C Coding Style should absolutely
be part of this discussion. We need to work towards specific proposals. Here are
the current open bugs
|
By
Michael D Kinney
·
#81609
·
|
|
Re: Progress on getting Uncrustify working for EDK2?
Thanks Mike, I will look into that.
For others, I recently published an "uncrustify_poc_3" branch on my edk2 fork that demonstrates the latest set of results I've obtained with Uncrustify tool
Thanks Mike, I will look into that.
For others, I recently published an "uncrustify_poc_3" branch on my edk2 fork that demonstrates the latest set of results I've obtained with Uncrustify tool
|
By
Michael Kubacki
·
#81608
·
|
|
Re: Progress on getting Uncrustify working for EDK2?
Hi Michael,
I am looking at your uncrustify_poc_3 branch, and I see an unexpected change
related to use of IN/OUT in a function declaration.
File: MdeModulePkg\Logo\Logo.c
Before
Hi Michael,
I am looking at your uncrustify_poc_3 branch, and I see an unexpected change
related to use of IN/OUT in a function declaration.
File: MdeModulePkg\Logo\Logo.c
Before
|
By
Michael D Kinney
·
#81607
·
|
|
Re: Progress on getting Uncrustify working for EDK2?
Good day,
+1, but while you're at it, can we have arguments not align to the function name...
Status = Test (
a
);
... but to the next natural indentation level?
Good day,
+1, but while you're at it, can we have arguments not align to the function name...
Status = Test (
a
);
... but to the next natural indentation level?
|
By
Marvin Häuser
·
#81606
·
|
|
Re: Progress on getting Uncrustify working for EDK2?
On the git-blame front we might be able to build a recipe that walks past the code style and line ending commits that would could add to an FAQ or Wiki.
For bonus points we could add a git command
On the git-blame front we might be able to build a recipe that walks past the code style and line ending commits that would could add to an FAQ or Wiki.
For bonus points we could add a git command
|
By
Andrew Fish
·
#81605
·
|
|
Event: TianoCore Community Meeting - EMEA / NAMO - 10/07/2021
#cal-reminder
Reminder: TianoCore Community Meeting - EMEA / NAMO
When:
10/07/2021
9:00am to 10:00am
(UTC-07:00) America/Los
Reminder: TianoCore Community Meeting - EMEA / NAMO
When:
10/07/2021
9:00am to 10:00am
(UTC-07:00) America/Los
|
By
devel@edk2.groups.io Calendar <noreply@...>
·
#81604
·
|
|
Event: TianoCore Community Meeting - EMEA / NAMO - 10/07/2021
#cal-reminder
Reminder: TianoCore Community Meeting - EMEA / NAMO
When:
10/07/2021
9:00am to 10:00am
(UTC-07:00) America/Los
Reminder: TianoCore Community Meeting - EMEA / NAMO
When:
10/07/2021
9:00am to 10:00am
(UTC-07:00) America/Los
|
By
devel@edk2.groups.io Calendar <noreply@...>
·
#81603
·
|
|
[PATCH v2 21/21] DynamicTablesPkg: SSDT CPU topology and LPI state generator
From: Pierre Gondois <Pierre.Gondois@...>
In the GIC interrupt model, logical processors are required to
have a Processor Device object in the DSDT and must convey each
processor's GIC
From: Pierre Gondois <Pierre.Gondois@...>
In the GIC interrupt model, logical processors are required to
have a Processor Device object in the DSDT and must convey each
processor's GIC
|
By
PierreGondois
·
#81602
·
|
|
[PATCH v2 20/21] DynamicTablesPkg: Add CM_ARM_LPI_INFO object
From: Pierre Gondois <Pierre.Gondois@...>
Introduce the CM_ARM_LPI_INFO CmObj in the ArmNameSpaceObjects.
This allows to describe LPI state information, as described in
ACPI 6.4, s8.4.4.3 "_LPI
From: Pierre Gondois <Pierre.Gondois@...>
Introduce the CM_ARM_LPI_INFO CmObj in the ArmNameSpaceObjects.
This allows to describe LPI state information, as described in
ACPI 6.4, s8.4.4.3 "_LPI
|
By
PierreGondois
·
#81601
·
|
|
[PATCH v2 19/21] DynamicTablesPkg: AML code generation to add an _LPI state
From: Pierre Gondois <Pierre.Gondois@...>
Add AmlAddLpiState() to generates AML code to add an _LPI state
to an _LPI object created using AmlCreateLpiNode().
AmlAddLpiState increments the count
From: Pierre Gondois <Pierre.Gondois@...>
Add AmlAddLpiState() to generates AML code to add an _LPI state
to an _LPI object created using AmlCreateLpiNode().
AmlAddLpiState increments the count
|
By
PierreGondois
·
#81600
·
|
|
[PATCH v2 18/21] DynamicTablesPkg: AML code generation for a _LPI object
From: Pierre Gondois <Pierre.Gondois@...>
_LPI object provides a method to describe Low Power Idle
states that define the local power states for each node
in a hierarchical processor
From: Pierre Gondois <Pierre.Gondois@...>
_LPI object provides a method to describe Low Power Idle
states that define the local power states for each node
in a hierarchical processor
|
By
PierreGondois
·
#81599
·
|
|
[PATCH v2 17/21] DynamicTablesPkg: AML code generation for a Method returning a NS
From: Pierre Gondois <Pierre.Gondois@...>
Add AmlCodeGenMethodRetNameString() to generate AML code to create
a Method returning a NameString (NS).
AmlCodeGenMethodRetNameString (
"MET0",
From: Pierre Gondois <Pierre.Gondois@...>
Add AmlCodeGenMethodRetNameString() to generate AML code to create
a Method returning a NameString (NS).
AmlCodeGenMethodRetNameString (
"MET0",
|
By
PierreGondois
·
#81598
·
|
|
[PATCH v2 16/21] DynamicTablesPkg: AML code generation to Return a NameString
From: Pierre Gondois <Pierre.Gondois@...>
Add AmlCodeGenReturnNameString() to generate AML code for a
Return object node, returning the object as a NameString.
AmlCodeGenReturn ("NAM1",
From: Pierre Gondois <Pierre.Gondois@...>
Add AmlCodeGenReturnNameString() to generate AML code for a
Return object node, returning the object as a NameString.
AmlCodeGenReturn ("NAM1",
|
By
PierreGondois
·
#81597
·
|
|
[PATCH v2 15/21] DynamicTablesPkg: AML code generation for a Method
From: Pierre Gondois <Pierre.Gondois@...>
Add AmlCodeGenMethod() to generate code for a control method.
AmlCodeGenMethod ("MET0", 1, TRUE, 3, ParentNode, NewObjectNode)
is equivalent of the
From: Pierre Gondois <Pierre.Gondois@...>
Add AmlCodeGenMethod() to generate code for a control method.
AmlCodeGenMethod ("MET0", 1, TRUE, 3, ParentNode, NewObjectNode)
is equivalent of the
|
By
PierreGondois
·
#81596
·
|
|
[PATCH v2 14/21] DynamicTablesPkg: AML code generation for a ResourceTemplate
From: Pierre Gondois <Pierre.Gondois@...>
ASL provides a ResourceTemplate macro that creates a Buffer in which
resource descriptor macros can be listed. The ResourceTemplate macro
automatically
From: Pierre Gondois <Pierre.Gondois@...>
ASL provides a ResourceTemplate macro that creates a Buffer in which
resource descriptor macros can be listed. The ResourceTemplate macro
automatically
|
By
PierreGondois
·
#81595
·
|
|
[PATCH v2 13/21] DynamicTablesPkg: Helper function to compute package length
From: Pierre Gondois <Pierre.Gondois@...>
Some AML object have a PkgLen which indicates the size of the
AML object. The package length can be encoded in 1 to 4 bytes.
The bytes used to encode the
From: Pierre Gondois <Pierre.Gondois@...>
Some AML object have a PkgLen which indicates the size of the
AML object. The package length can be encoded in 1 to 4 bytes.
The bytes used to encode the
|
By
PierreGondois
·
#81594
·
|
|
[PATCH v2 12/21] DynamicTablesPkg: AML code generation for a Package
From: Pierre Gondois <Pierre.Gondois@...>
Add AmlCodeGenPackage() to generate AML code for declaring
a Package() object. This function generates an empty package
node. New elements can then be
From: Pierre Gondois <Pierre.Gondois@...>
Add AmlCodeGenPackage() to generate AML code for declaring
a Package() object. This function generates an empty package
node. New elements can then be
|
By
PierreGondois
·
#81593
·
|