home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / oslib / Hdr / Cache < prev    next >
Encoding:
Text File  |  1994-07-01  |  1.5 KB  |  61 lines

  1. ;AAsm header file for Cache
  2. ;written by DefMod (Jul  1 1994) on Fri Jul  1 16:26:09 1994
  3.  
  4.         [       :LNOT: :DEF: Get_Types
  5.         GBLS    Get_Types
  6. Get_Types                       SETS    "GET OS:Hdr.Types"
  7.         |
  8. Get_Types                       SETS    ""
  9.         ]
  10.         $Get_Types
  11.  
  12.         [       :LNOT: :DEF: Get_OS
  13.         GBLS    Get_OS
  14. Get_OS                          SETS    "GET OS:Hdr.OS"
  15.         |
  16. Get_OS                          SETS    ""
  17.         ]
  18.         $Get_OS
  19.  
  20.         [       :LNOT: :DEF: Cache_Hdr
  21.         GBLS    Cache_Hdr
  22.  
  23. ;Symbols for SWI's and SWI reason codes
  24. XCache_Control                  *       &20280
  25. Cache_Control                   *       &280
  26.    ;Entry
  27.    ;  R0 = eor_mask (Bits)
  28.    ;  R1 = and_mask (Bits)
  29.    ;Exit
  30.    ;  R0 = old_state (Bits)
  31.  
  32. XCache_Cacheable                *       &20281
  33. Cache_Cacheable                 *       &281
  34.    ;Entry
  35.    ;  R0 = eor_mask (Bits)
  36.    ;  R1 = and_mask (Bits)
  37.    ;Exit
  38.    ;  R0 = old_state (Bits)
  39.  
  40. XCache_Updateable               *       &20282
  41. Cache_Updateable                *       &282
  42.    ;Entry
  43.    ;  R0 = eor_mask (Bits)
  44.    ;  R1 = and_mask (Bits)
  45.    ;Exit
  46.    ;  R0 = old_state (Bits)
  47.  
  48. XCache_Disruptive               *       &20283
  49. Cache_Disruptive                *       &283
  50.    ;Entry
  51.    ;  R0 = eor_mask (Bits)
  52.    ;  R1 = and_mask (Bits)
  53.    ;Exit
  54.    ;  R0 = old_state (Bits)
  55.  
  56. XCache_Flush                    *       &20284
  57. Cache_Flush                     *       &284
  58.  
  59.         ]
  60.         END
  61.