This call gives a compiler error "constant expected),
Code: Select all
DWrd := KVA_to_PA(@BDT);
Code: Select all
Dwrd := KVA_to_PA($A0000000);
Code: Select all
Type TBD = record
ByteCount: word;
Stat: byte;
Res1: byte;
Addr: DWord;
end;
const NrOfEndPoints = 4;
var BDT: array[NrOfEndPoints] of TBD; absolute $A0000000; volatile;
var DWrd: DWord; volatile;
Thanks in advance!