;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; ;; This file is part of 'M', a MIPS system emulator. ;; ;; ;; ;; (C) 2019 Stanislav Datskovskiy ( www.loper-os.org ) ;; ;; http://wot.deedbot.org/17215D118B7239507FAFED98B98228A001ABFFC7.html ;; ;; ;; ;; You do not have, nor can you ever acquire the right to use, copy or ;; ;; distribute this software ; Should you use this software for any purpose, ;; ;; or copy and distribute it to anyone or in any manner, you are breaking ;; ;; the laws of whatever soi-disant jurisdiction, and you promise to ;; ;; continue doing so for the indefinite future. In any case, please ;; ;; always : read and understand any software ; verify any PGP signatures ;; ;; that you use - for any purpose. ;; ;; ;; ;; See also http://trilema.com/2015/a-new-software-licensing-paradigm . ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;----------------------------------------------------------------------------- ; Endianism. LITTLE_ENDIAN -- 'little' ; otherwise 'big' ;----------------------------------------------------------------------------- ; %define LITTLE_ENDIAN 1 ;----------------------------------------------------------------------------- ;----------------------------------------------------------------------------- ; Alignment Grain ;----------------------------------------------------------------------------- %define GRAIN 32 ;----------------------------------------------------------------------------- ;----------------------------------------------------------------------------- ; Memory Size (MB) ;----------------------------------------------------------------------------- %define RAM_SIZE_MB 1040 ;----------------------------------------------------------------------------- ;----------------------------------------------------------------------------- ; Start and End of MMIO Peripheral Space ;----------------------------------------------------------------------------- %define MMIO_BASE 0x14000000 ;; Bottom of Memory-Mapped Dev. Bus %define MMIO_TOP 0x1400FFFF ;; Top of Memory-Mapped Dev. Bus ;----------------------------------------------------------------------------- ;----------------------------------------------------------------------------- ; Size of Slave thread stacks ;----------------------------------------------------------------------------- %define SLAVE_STACK_SIZE (4 * 1024) ;; 4kB ;----------------------------------------------------------------------------- ;----------------------------------------------------------------------------- ; Timer Slave Frequency (nsec) ;----------------------------------------------------------------------------- %define TIMER_SLAVE_PERIOD 10000000 ; for 100Hz ;----------------------------------------------------------------------------- ;----------------------------------------------------------------------------- ; Command Line Argument Count ;----------------------------------------------------------------------------- %define CMDLINE_ARG_COUNT 1 ;-----------------------------------------------------------------------------