NAME
    vpu_dev - Simple API to handle the vpu device

SYNOPSIS
    #include "vpu_dev.h"


ESCRIPTION
	vpu_dev offers the simple API that handles /dev/ps2vu/[01].

  Functions

    VPUDEV * vpudev_open(int vpu);
	It opens the VPU device specified by 'vpu' (0 or 1) and mmap() 
	corresponding VPU device.  
	The return value is the VPU device descriptor (VPUDEV *).  You need 
	to open vpu0 before opening vpu1.

    void vpudev_close(VPUDEV *pvpu);
	It releases the resources of the VPU specified by the device 
	descriptor 'pvpu'. 

    void * vpudev_text(VPUDEV *pvpu);
	It returns the address to which the UMEM area (for programs) of the 
	VPU specified by the device descriptor 'pvpu'.

    void * vpudev_data(VPUDEV *pvpu);
	It returns the address to which the VUMEM area (for data) of the VPU 
	specified by the device descriptor 'pvpu'. 

    void vpudev_reset(VPUDEV *dev);
	It resets VPU specified by the device descriptor 'pvpu'
	and allows the interrupt of the T (trace) flag and the D (debug) flag.

    void vpudev_start(VPUDEV *dev, unsigned int start);
	It starts the VPU specified by the device descriptor 'pvpu' in 
	the macro mode.  The argument 'start' specifies the 
	starting address in umen.
	
    int vpudev_busy(VPUDEV *dev);
	It returns the status of the busy flag of the VPU-STATUS register of 
	the VPU by the device descriptor 'pvpu'.
	It returns 1, when the status is busy.
	
