Path: blob/master/arch/powerpc/sysdev/bestcomm/bcom_ata_task.c
10818 views
/*1* Bestcomm ATA task microcode2*3* Copyright (c) 2004 Freescale Semiconductor, Inc.4*5* This program is free software; you can redistribute it and/or modify it6* under the terms of the GNU General Public License version 2 as published7* by the Free Software Foundation.8*9* Created based on bestcom/code_dma/image_rtos1/dma_image.hex10*/1112#include <asm/types.h>1314/*15* The header consists of the following fields:16* u32 magic;17* u8 desc_size;18* u8 var_size;19* u8 inc_size;20* u8 first_var;21* u8 reserved[8];22*23* The size fields contain the number of 32-bit words.24*/2526u32 bcom_ata_task[] = {27/* header */280x4243544b,290x0e060709,300x00000000,310x00000000,3233/* Task descriptors */340x8198009b, /* LCD: idx0 = var3; idx0 <= var2; idx0 += inc3 */350x13e00c08, /* DRD1A: var3 = var1; FN=0 MORE init=31 WS=0 RS=0 */360xb8000264, /* LCD: idx1 = *idx0, idx2 = var0; idx1 < var9; idx1 += inc4, idx2 += inc4 */370x10000f00, /* DRD1A: var3 = idx0; FN=0 MORE init=0 WS=0 RS=0 */380x60140002, /* DRD2A: EU0=0 EU1=0 EU2=0 EU3=2 EXT init=0 WS=2 RS=2 */390x0c8cfc8a, /* DRD2B1: *idx2 = EU3(); EU3(*idx2,var10) */400xd8988240, /* LCDEXT: idx1 = idx1; idx1 > var9; idx1 += inc0 */410xf845e011, /* LCDEXT: idx2 = *(idx0 + var00000015); ; idx2 += inc2 */420xb845e00a, /* LCD: idx3 = *(idx0 + var00000019); ; idx3 += inc1 */430x0bfecf90, /* DRD1A: *idx3 = *idx2; FN=0 TFD init=31 WS=3 RS=3 */440x9898802d, /* LCD: idx1 = idx1; idx1 once var0; idx1 += inc5 */450x64000005, /* DRD2A: EU0=0 EU1=0 EU2=0 EU3=5 INT EXT init=0 WS=0 RS=0 */460x0c0cf849, /* DRD2B1: *idx0 = EU3(); EU3(idx1,var9) */470x000001f8, /* NOP */4849/* VAR[9]-VAR[14] */500x40000000,510x7fff7fff,520x00000000,530x00000000,540x00000000,550x00000000,5657/* INC[0]-INC[6] */580x40000000,590xe0000000,600xe0000000,610xa000000c,620x20000000,630x00000000,640x00000000,65};66676869