Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1.  
  2. format MS COFF
  3.  
  4. ;struct builtin_fw {
  5. ;        char *name;
  6. ;        void *data;
  7. ;        unsigned long size;
  8. ;};
  9.  
  10. public ___start_builtin_fw
  11. public ___end_builtin_fw
  12.  
  13. section '.text' code readable executable align 16
  14.  
  15. align 16
  16.  
  17. macro CP_code [arg]
  18. {
  19.         dd FIRMWARE_#arg#_CP
  20.         dd arg#_CP_START
  21.         dd (arg#_CP_END - arg#_CP_START)
  22. }
  23.  
  24. macro CP_firmware [arg]
  25. {
  26. forward
  27. FIRMWARE_#arg#_CP       db 'i915/',`arg,'.bin',0
  28. forward
  29.  
  30. align 16
  31. arg#_CP_START:
  32.         file "firmware/"#`arg#".bin"
  33. arg#_CP_END:
  34. }
  35.  
  36. ___start_builtin_fw:
  37.  
  38. CP_code skl_guc_ver4
  39.  
  40. ___end_builtin_fw:
  41.  
  42. CP_firmware skl_guc_ver4
  43.  
  44.  
  45.