root / prex-0.9.0 / conf / arm / gba @ 03e9c04a
History | View | Annotate | Download (2.36 KB)
1 |
# |
---|---|
2 |
# Prex system configuration file |
3 |
# |
4 |
|
5 |
# |
6 |
# Make options |
7 |
# |
8 |
makeoptions GCCFLAGS+= -mcpu=arm7tdmi -mtune=arm7tdmi -fno-dwarf2-cfi-asm |
9 |
makeoptions ASFLAGS+= -mfpu=softfpa |
10 |
|
11 |
# |
12 |
# Memory address |
13 |
# |
14 |
memory LOADER_TEXT 0x03000000 # Start of boot loader |
15 |
memory KERNEL_TEXT 0x02000000 # Start of kernel |
16 |
memory BOOTIMG_BASE 0x08002000 # Location of boot image |
17 |
memory SYSPAGE_BASE 0x03002000 # Location of system page |
18 |
|
19 |
# |
20 |
# Tunable paramters |
21 |
# |
22 |
options HZ=100 # Ticks/second of the clock |
23 |
options TIME_SLICE=50 # Context switch ratio (msec) |
24 |
options OPEN_MAX=8 # Max open files per process |
25 |
options BUF_CACHE=8 # Blocks for buffer cache |
26 |
options FS_THREADS=1 # Number of file system threads |
27 |
|
28 |
# |
29 |
# Platform settings |
30 |
# |
31 |
options ARM7 # Processor core |
32 |
options ROMBOOT # Boot from ROM |
33 |
options BOOTDISK # Disk for /boot directory |
34 |
|
35 |
# |
36 |
# General setup |
37 |
# |
38 |
options POSIX # POSIX support |
39 |
options CMDBOX # Core utilities |
40 |
options TINY # Optimize for size |
41 |
|
42 |
# |
43 |
# Kernel hacking |
44 |
# |
45 |
#options KD # Kernel debugger |
46 |
#options AUDIT # Security auditing |
47 |
|
48 |
# |
49 |
# Diagnostic options |
50 |
# |
51 |
#options DIAG_SCREEN # Diagnostic via screen |
52 |
options DIAG_VBA # Diagnostic via VBA emulater |
53 |
|
54 |
# |
55 |
# File systems |
56 |
# |
57 |
#options FIFOFS # FIFO & Pipe |
58 |
options DEVFS # Device file system |
59 |
options RAMFS # RAM file system |
60 |
options ARFS # Archive file system |
61 |
|
62 |
# |
63 |
# Power management |
64 |
# |
65 |
#options PM # Power management |
66 |
#options PM_POWERSAVE # Power policy: Battery optimized |
67 |
#options PM_PERFORMANCE # Power policy: Parformance optimized |
68 |
|
69 |
# |
70 |
# Device drivers (initialization order) |
71 |
# |
72 |
#device pm # Power management |
73 |
device cons # System console |
74 |
device wscons # Workstation console |
75 |
device lcd # GBA LCD video (parent:wscons) |
76 |
device swkbd # Software Keyboard (parent:wscons) |
77 |
device keypad # GBA keypad (parent:swkbd) |
78 |
#device null # NULL device |
79 |
#device zero # Zero device |
80 |
device ramdisk # RAM disk |
81 |
|
82 |
# |
83 |
# Hardware configuations |
84 |
# |
85 |
|
86 |
# |
87 |
# Command box |
88 |
# |
89 |
#command cat |
90 |
command clear |
91 |
command cp |
92 |
#command date |
93 |
#command dmesg |
94 |
#command echo |
95 |
command free |
96 |
#command head |
97 |
#command hostname |
98 |
#command kill |
99 |
command ls |
100 |
#command mkdir |
101 |
#command more |
102 |
#command mv |
103 |
#command nice |
104 |
#command printenv |
105 |
command ps |
106 |
#command pwd |
107 |
#command rm |
108 |
#command rmdir |
109 |
command sh |
110 |
#command sleep |
111 |
#command sync |
112 |
#command test |
113 |
#command touch |
114 |
command uname |
115 |
|
116 |
# |
117 |
# Adminisrative tools |
118 |
# |
119 |
#command diskutil |
120 |
#command install |
121 |
#command pmctrl |
122 |
#command ktrace |
123 |
#command lock |
124 |
#command debug |