kolibrios/drivers/video/drm/i915/fwblob.asm
Sergey Semyonov (Serge) 87ba1ae914 i915-4.4 works_on_my_computer edition.
git-svn-id: svn://kolibrios.org@6084 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-01-20 04:45:20 +00:00

45 lines
652 B
NASM

format MS COFF
;struct builtin_fw {
; char *name;
; void *data;
; unsigned long size;
;};
public ___start_builtin_fw
public ___end_builtin_fw
section '.text' code readable executable align 16
align 16
macro CP_code [arg]
{
dd FIRMWARE_#arg#_CP
dd arg#_CP_START
dd (arg#_CP_END - arg#_CP_START)
}
macro CP_firmware [arg]
{
forward
FIRMWARE_#arg#_CP db 'i915/',`arg,'.bin',0
forward
align 16
arg#_CP_START:
file "firmware/"#`arg#".bin"
arg#_CP_END:
}
___start_builtin_fw:
CP_code skl_guc_ver4
___end_builtin_fw:
CP_firmware skl_guc_ver4