https://bitbucket.org/hudson/magic-lantern
Revision 488e483d16f2f28f7f80cc1ffcffe63fe656bd4d authored by a1ex on 03 June 2011, 22:01:47 UTC, committed by a1ex on 03 June 2011, 22:01:47 UTC
1 parent 8fc97f6
Raw File
Tip revision: 488e483d16f2f28f7f80cc1ffcffe63fe656bd4d authored by a1ex on 03 June 2011, 22:01:47 UTC
Swap MENU <-> ERASE (experimental)
Tip revision: 488e483
hotplug.h
#ifndef _hotplug_h_
#define _hotplug_h_

#include "dryos.h"


struct hotplug_struct
{
	uint32_t		initialized;	// off 0x00
	uint32_t		off_0x04;
	uint32_t		off_0x08;
	uint32_t		usb_prop;	// off_0x0c;
	uint32_t		off_0x10;
	uint32_t		off_0x14;
	uint32_t		off_0x18;
	uint32_t		off_0x1c;
	uint32_t		off_0x20;
	uint32_t		video_state;	// off_0x24;
	uint32_t		off_0x28;
	uint32_t		off_0x2c;
	uint32_t		last_video_state; // off_0x30;
	uint32_t		usb_state;	// off_0x34
};

extern struct hotplug_struct hotplug_struct;

extern uint32_t hotplug_usb_buf;

#endif
back to top