Path: blob/master/arch/powerpc/sysdev/bestcomm/bcom_gen_bd_rx_task.c
10818 views
/*1* Bestcomm GenBD RX task microcode2*3* Copyright (C) 2006 AppSpec Computer Technologies Corp.4* Jeff Gibbons <[email protected]>5* Copyright (c) 2004 Freescale Semiconductor, Inc.6*7* This program is free software; you can redistribute it and/or modify it8* under the terms of the GNU General Public License version 2 as published9* by the Free Software Foundation.10*11* Based on BestCommAPI-2.2/code_dma/image_rtos1/dma_image.hex12* on Tue Mar 4 10:14:12 2006 GMT13*14*/1516#include <asm/types.h>1718/*19* The header consists of the following fields:20* u32 magic;21* u8 desc_size;22* u8 var_size;23* u8 inc_size;24* u8 first_var;25* u8 reserved[8];26*27* The size fields contain the number of 32-bit words.28*/2930u32 bcom_gen_bd_rx_task[] = {31/* header */320x4243544b,330x0d020409,340x00000000,350x00000000,3637/* Task descriptors */380x808220da, /* LCD: idx0 = var1, idx1 = var4; idx1 <= var3; idx0 += inc3, idx1 += inc2 */390x13e01010, /* DRD1A: var4 = var2; FN=0 MORE init=31 WS=0 RS=0 */400xb880025b, /* LCD: idx2 = *idx1, idx3 = var0; idx2 < var9; idx2 += inc3, idx3 += inc3 */410x10001308, /* DRD1A: var4 = idx1; FN=0 MORE init=0 WS=0 RS=0 */420x60140002, /* DRD2A: EU0=0 EU1=0 EU2=0 EU3=2 EXT init=0 WS=2 RS=2 */430x0cccfcca, /* DRD2B1: *idx3 = EU3(); EU3(*idx3,var10) */440xd9190240, /* LCDEXT: idx2 = idx2; idx2 > var9; idx2 += inc0 */450xb8c5e009, /* LCD: idx3 = *(idx1 + var00000015); ; idx3 += inc1 */460x07fecf80, /* DRD1A: *idx3 = *idx0; FN=0 INT init=31 WS=3 RS=3 */470x99190024, /* LCD: idx2 = idx2; idx2 once var0; idx2 += inc4 */480x60000005, /* DRD2A: EU0=0 EU1=0 EU2=0 EU3=5 EXT init=0 WS=0 RS=0 */490x0c4cf889, /* DRD2B1: *idx1 = EU3(); EU3(idx2,var9) */500x000001f8, /* NOP */5152/* VAR[9]-VAR[10] */530x40000000,540x7fff7fff,5556/* INC[0]-INC[3] */570x40000000,580xe0000000,590xa0000008,600x20000000,61};62636465