#ident "$Id: DF_structs.h,v 1.1 2006/08/15 20:02:46 craig Exp $"
/*
 *               Copyright (C) 2005, BroadOn Communications Corp.
 *
 *  These coded instructions, statements, and computer programs contain
 *  unpublished  proprietary information of BroadOn Communications Corp.,
 *  and  are protected by Federal copyright law. They may not be disclosed
 *  to  third  parties or copied or duplicated in any form, in whole or in
 *  part, without the prior written consent of BroadOn Communications Corp.
 *
 */

#ifndef DF_STRUCTS_H
#define DF_STRUCTS_H

#include "types.h"

// The DF_ structures are copied from makeRVTR.c
typedef struct {
    u32 numGamePartitions;
    u32 partitionInfos;   // Address of an array of partition infos
    u8  padding[24];
} DF_GameTOC;

typedef struct {
    u32 gamePartition;
    u32 type;
} DF_PartitionInfo;

typedef struct {
    u32 sysVersionHigh;
    u32 sysVersionLow;
    u32 titleIdHigh;
    u32 titleIdLow;
}   DF_ESTicket;

#define BOOT_GAME_PARTITION  0
#define UPDATE_PARTITION     1
#define GAME_PARTITION       2

#endif
