Guest User

Untitled

a guest
Aug 30th, 2018
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ada 0.30 KB | None | 0 0
  1.    --  We need to import the "mbd" symbol...
  2.    Info_Address : constant Unsigned_32;
  3.  
  4.    pragma Import (Assembly, Info_Address, "mbd");
  5.  
  6.    Info : MB_Info;
  7.  
  8.    --  So we can use the address stored at that location.
  9.    for Info'Address use System'To_Address (Info_Address);
  10.  
  11.    pragma Volatile (Info);
Add Comment
Please, Sign In to add comment