Jump to content

Dropping DMAR: Valid values for TableLength are the actual value and 0


miliuco
 Share

3 posts in this topic

Recommended Posts

To drop the DMAR table, OpenCore has 3 properties that define the table to be dropped: OemTableId (Oem Table Id in hexadecimal), TableLength (in decimal) and TableSignature (Signature in hexadecimal).
Until now I always write the length of the table in TableLength. If the written value does not match the true value, the table is not deleted and the modified table is not loaded.
But I've recently noticed that if I write TableLength=0 (which obviously isn't correct either), the DMAR table is dropped and the modified table is loaded.
In short: Valid TableLength values are 0 and the actual value.
Is this behavior as expected? TableLength=0 is it ok? I guess so because on my system it works fine like this.

 

OemTableId and TableSignature, on the other hand, do have to match the correct value (string converted to hexadecimal).

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...