Function


nuGfxSetUcode (Macro)


Syntax

void nuGfxSetUcode(NUUCode* ucode)
Arguments
ucode      pointer to the graphics microcode structure
Return Value
None
Description

Registers the graphics microcode

Registers an array of the graphics microcode structure in the Graphics Task Manager. The graphics microcode structure is defined as follows.

	
	typedef struct  st_Ucode {
	  u64*	ucode;	
	  u64*	ucode_data;
	} NUUcode;
Example
/* Arrays for the graphics microcode structure */
static NUUcode gfxUcode[] = {
  {(u64*)gspF3DEX_fifoTextStart, (u64*)gspF3DEX_fifoDataStart},
  {(u64*)gspL3DEX_fifoTextStart, (u64*)gspL3DEX_fifoDataStart},
};

void gfxUcodeSet(void)
{
  /* Register the graphics microcode */
  nuGfxUcodeSet(gfxUcode);
  ......
}

See Also

nuGfxTaskStart