pvcheck.sed 2.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. #
  2. # Checker for paravirtualizations of privileged operations.
  3. #
  4. s/ssm.*psr\.ic.*/.warning \"ssm psr.ic should not be used directly\"/g
  5. s/rsm.*psr\.ic.*/.warning \"rsm psr.ic should not be used directly\"/g
  6. s/ssm.*psr\.i.*/.warning \"ssm psr.i should not be used directly\"/g
  7. s/rsm.*psr\.i.*/.warning \"rsm psr.i should not be used directly\"/g
  8. s/ssm.*psr\.dt.*/.warning \"ssm psr.dt should not be used directly\"/g
  9. s/rsm.*psr\.dt.*/.warning \"rsm psr.dt should not be used directly\"/g
  10. s/mov.*=.*cr\.ifa/.warning \"cr.ifa should not used directly\"/g
  11. s/mov.*=.*cr\.itir/.warning \"cr.itir should not used directly\"/g
  12. s/mov.*=.*cr\.isr/.warning \"cr.isr should not used directly\"/g
  13. s/mov.*=.*cr\.iha/.warning \"cr.iha should not used directly\"/g
  14. s/mov.*=.*cr\.ipsr/.warning \"cr.ipsr should not used directly\"/g
  15. s/mov.*=.*cr\.iim/.warning \"cr.iim should not used directly\"/g
  16. s/mov.*=.*cr\.iip/.warning \"cr.iip should not used directly\"/g
  17. s/mov.*=.*cr\.ivr/.warning \"cr.ivr should not used directly\"/g
  18. s/mov.*=[^\.]*psr/.warning \"psr should not used directly\"/g # avoid ar.fpsr
  19. s/mov.*=.*ar\.eflags/.warning \"ar.eflags should not used directly\"/g
  20. s/mov.*=.*ar\.itc.*/.warning \"ar.itc should not used directly\"/g
  21. s/mov.*cr\.ifa.*=.*/.warning \"cr.ifa should not used directly\"/g
  22. s/mov.*cr\.itir.*=.*/.warning \"cr.itir should not used directly\"/g
  23. s/mov.*cr\.iha.*=.*/.warning \"cr.iha should not used directly\"/g
  24. s/mov.*cr\.ipsr.*=.*/.warning \"cr.ipsr should not used directly\"/g
  25. s/mov.*cr\.ifs.*=.*/.warning \"cr.ifs should not used directly\"/g
  26. s/mov.*cr\.iip.*=.*/.warning \"cr.iip should not used directly\"/g
  27. s/mov.*cr\.kr.*=.*/.warning \"cr.kr should not used directly\"/g
  28. s/mov.*ar\.eflags.*=.*/.warning \"ar.eflags should not used directly\"/g
  29. s/itc\.i.*/.warning \"itc.i should not be used directly.\"/g
  30. s/itc\.d.*/.warning \"itc.d should not be used directly.\"/g
  31. s/bsw\.0/.warning \"bsw.0 should not be used directly.\"/g
  32. s/bsw\.1/.warning \"bsw.1 should not be used directly.\"/g
  33. s/ptc\.ga.*/.warning \"ptc.ga should not be used directly.\"/g