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