/* nspirelinuxloader - A in-place Linux bootloader for TI-Nspire calculator Copyright (C) 2011 Daniel Tang This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ #define PHYSICAL_MEMORY_ADDR 0x10000000 #define PHYSICAL_MEMORY_SIZE 0x02000000 #define MAX_KERNEL_SIZE 0x00010000 #define MAX_PARAM_SIZE 0x00004000 #define KERNEL_LOAD_ADDR 0x10008000 #define PARAM_LOAD_ADDR 0x10000000 #define SAFE_ADDR 0xA4000100 /* An address known for sure that will not be touched when the mmu dies or during the memcpy process. In our case, the screen buffer. */ #define MACH_TYPE 21 #define SYSTEM_PAGESIZE 4096