All pastes #164944 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-09-09 07:27 UTC
rendered paste body
/* SCE CONFIDENTIAL
 PSP(TM) Programmer Tool Runtime Library Release 1.5.0
 */
/*
 *      Copyright (C) 2004 Sony Computer Entertainment Inc.
 *                        All Rights Reserved.
 *
 *           UMD Block Device Driver - # of devctl command
 *
 *                          umddevctl.h
 *
 *      version      date                design       log
 *   ------------------------------------------------------------------
 *       0.10        2004-08-05          fujitak      first revision
 */
#ifndef __SCE_UMD_DEVCTL_H__
#define __SCE_UMD_DEVCTL_H__

#include <pspioctl.h>

#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus)
extern "C" {
#endif	/* defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) */

#define SCE_UMD_DEVICE_NAME     "umd"
#define SCE_DEVTYPE_PUB_UMD     (0x1F << 20)

/* # of devctl command */
#define SCE_UMD_GET_MEDIATYPE        (SCE_DEVTYPE_PUB_UMD|SCE_IOCTL_DSTBLK_BIT|0x01)
#define SCE_UMD_GET_LASTLBA          (SCE_DEVTYPE_PUB_UMD|SCE_IOCTL_DSTBLK_BIT|0x02)
#define SCE_UMD_ACTIVATE_DRIVE       (SCE_DEVTYPE_PUB_UMD|0x03)

#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus)
}
#endif	/* defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) */

#endif /* __SCE_UMD_DEVCTL_H__ */