]>
cvs.zerfleddert.de Git - linexec-j720/blob - tester1.h
5 //#define BOOT_LOGO_DONE
7 #if !defined(AFX_TESTER1_H__7D4A2D28_4650_475E_A82E_CF6F8E7BA839__INCLUDED_)
8 #define AFX_TESTER1_H__7D4A2D28_4650_475E_A82E_CF6F8E7BA839__INCLUDED_
12 #endif // _MSC_VER > 1000
16 //////////////////////////////// Some type definitions /////////////////////
22 /////////////////////////////Functions /////////////////////////////////////
23 Image
ReadBMP(char[]);
24 void ShowImage(UINT16
*,int,int,int=0,int=0);
28 void UART_puts(char *);
31 void boot_linux(char*,char*);
32 UINT32
ReadPhysical(UINT32
);
33 void WritePhysical(UINT32 addr
,UINT32 val
);
34 UINT32
VirtualToPhysical(UINT32
);
35 void load_boot(char*);
36 void SetGPIOalt(int,int);
37 void SetGPIOio(int,int);
40 ////////////////////////////////////////////////////////////////////////////
42 extern "C" BOOL
VirtualCopy(LPVOID lpvDestMem
, LPVOID lpvSrcMem
,
43 DWORD dwSizeInBytes
, DWORD dwProtectFlag
);
47 extern int read_mmu(); // reads where is/are descriptors located
50 extern void DRAMloader(UINT32 adr
,UINT32 machine_num
); // this function turns off MMU and jumps onto physical address given
52 extern "C" DWORD
SetProcPermissions(
56 extern "C" DWORD
GetCurrentPermissions(
59 extern "C" BOOL
SetKMode(
63 extern "C" LPVOID
CreateStaticMapping(
69 #define MENU_HEIGHT 26
71 #endif // !defined(AFX_TESTER1_H__7D4A2D28_4650_475E_A82E_CF6F8E7BA839__INCLUDED_)