system_info
*(unsigned long*)&mem[system_info.si_intrvec] = jump_instruction;
memcpy(mem, system_info.si_asmcode, system_info.si_asmcodelen);
if (!(VirtualCopy((LPVOID)mem, (LPVOID)(system_info.si_dramstart >> 8), 0x400,
extern struct system_info system_info;
if (system_info.si_asmcodelen > (signed)system_info.si_pagesize) {
system_info.si_asmcodelen,
system_info.si_pagesize);
struct system_info system_info;
system_info.si_pagesize = info->dwPageSize;
system_info.si_dramstart = 0x04000000;
system_info.si_drammaxsize = 0x04000000;
system_info.si_asmcode = (unsigned char*)tx39xx_asm_code;
system_info.si_asmcodelen = (unsigned char*)tx39xx_asm_code_end
- system_info.si_asmcode;
system_info.si_boot = mips_boot;
system_info.si_intrvec = 0x80;
return ((*system_info.si_boot)(vtophysaddr((void *)map)));
pagesize = system_info.si_pagesize;
pagesize = system_info.si_pagesize;
int pagesize = system_info.si_pagesize;
int pageno = (page - heap) / system_info.si_pagesize;
int offset = (page - heap) % system_info.si_pagesize;
pagesize = system_info.si_pagesize;
memblocks = (system_info.si_drammaxsize) / MEM_BLOCK_SIZE;
((system_info.si_dramstart + MEM_BLOCK_SIZE * m) >> 8),
system_info.si_dramstart) +
for (addr = kernel_start; addr < kernel_end; addr += system_info.si_pagesize) {
system_info.si_pagesize = info->dwPageSize;
system_info.si_dramstart = 0x80000000;
system_info.si_drammaxsize = 0x08000000;
system_info.si_asmcode = (unsigned char*)vr41xx_asm_code;
system_info.si_asmcodelen = (unsigned char*)vr41xx_asm_code_end
- system_info.si_asmcode;
system_info.si_boot = mips_boot;
system_info.si_intrvec = 0;