]> cvs.zerfleddert.de Git - linexec-j720/blame_incremental - tester1.h
fix kernel commandline "parsing" -> do not always cut off the last
[linexec-j720] / tester1.h
... / ...
CommitLineData
1#include "config.h"
2
3\r
4#define BOOT_LOGO\r
5//#define BOOT_LOGO_DONE\r
6\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
9\r
10#if _MSC_VER > 1000\r
11#pragma once\r
12#endif // _MSC_VER > 1000\r
13\r
14#include "resource.h"\r
15\r
16//////////////////////////////// Some type definitions /////////////////////\r
17struct Image {\r
18 UINT16 *p;\r
19 long x,y;\r
20};\r
21\r
22/////////////////////////////Functions /////////////////////////////////////\r
23Image ReadBMP(char[]);\r
24void ShowImage(UINT16*,int,int,int=0,int=0);\r
25void Gpio();\r
26void UART_setup();\r
27void DumpMMU();\r
28void UART_puts(char *);\r
29void init_fb();\r
30void try_fb();\r
31void boot_linux(char*,char*);\r
32UINT32 ReadPhysical(UINT32);\r
33void WritePhysical(UINT32 addr,UINT32 val);\r
34UINT32 VirtualToPhysical(UINT32);\r
35void load_boot(char*);\r
36void SetGPIOalt(int,int);\r
37void SetGPIOio(int,int);\r
38\r
39\r
40////////////////////////////////////////////////////////////////////////////\r
41\r
42extern "C" BOOL VirtualCopy(LPVOID lpvDestMem, LPVOID lpvSrcMem, \r
43 DWORD dwSizeInBytes, DWORD dwProtectFlag);\r
44\r
45extern void do_it();\r
46\r
47extern int read_mmu(); // reads where is/are descriptors located\r
48\r
49extern void IntOff();\r
50extern void DRAMloader(UINT32 adr,UINT32 machine_num); // this function turns off MMU and jumps onto physical address given\r
51\r
52extern "C" DWORD SetProcPermissions(\r
53DWORD newperms \r
54); \r
55\r
56extern "C" DWORD GetCurrentPermissions(\r
57);\r
58\r
59extern "C" BOOL SetKMode( \r
60BOOL fMode \r
61);\r
62\r
63extern "C" LPVOID CreateStaticMapping(\r
64DWORD dwPhysBase,\r
65DWORD dwSize\r
66);\r
67\r
68\r
69#define MENU_HEIGHT 26\r
70\r
71#endif // !defined(AFX_TESTER1_H__7D4A2D28_4650_475E_A82E_CF6F8E7BA839__INCLUDED_)\r
Impressum, Datenschutz