Hi Ray,


Thanks,
Chao
On 2024/4/15 10:10, Ni, Ray wrote:

+
+typedef struct {
+  UINT32    NumberOfProcessor;
+  UINTN     *ApicId;

[Ray] How about "UINTN  ApicId[]"? The difference between the two is your version contains an 8-byte pointer pointing to somewhere else. My version implies the APIC ID array is just after "NumberOfProcessor".
Of curse, using the flexible arrays is better than my version and I will adjust this in V3.
_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#117816) | | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_