Changeset 31fb9a0 in mainline
- Timestamp:
- 2009-03-08T13:38:22Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0af8bcd
- Parents:
- ec944b1
- Files:
-
- 4 added
- 1 deleted
- 1 edited
- 13 moved
Legend:
- Unmodified
- Added
- Removed
-
defaults/amd64/Makefile.config
rec944b1 r31fb9a0 2 2 PLATFORM = amd64 3 3 4 # CPU type5 MACHINE = opteron6 7 4 # Ramdisk format 8 RDFMT = tmpfs5 RDFMT = fat 9 6 10 7 # Compiler … … 14 11 CONFIG_DEBUG = y 15 12 13 # Deadlock detection support for spinlocks 14 CONFIG_DEBUG_SPINLOCK = y 15 16 16 # Support for SMP 17 17 CONFIG_SMP = y … … 20 20 CONFIG_HT = y 21 21 22 # Simics BIOS AP boot fix23 CONFIG_SIMICS_FIX = y24 25 22 # Lazy FPU context switching 26 23 CONFIG_FPU_LAZY = y 27 24 28 25 # Support for userspace debuggers 29 CONFIG_UDEBUG = n26 CONFIG_UDEBUG = y 30 27 31 28 # Kernel console support … … 35 32 CONFIG_LOG = n 36 33 37 # Deadlock detection support for spinlocks38 CONFIG_DEBUG_SPINLOCK = y39 40 # Watchpoint on rewriting AS with zero41 CONFIG_DEBUG_AS_WATCHPOINT = y42 43 # Save all interrupt registers44 CONFIG_DEBUG_ALLREGS = y45 46 34 # Compile kernel tests 47 35 CONFIG_TEST = y 36 37 # What is your input device? 38 CONFIG_HID_IN = keyboard 39 40 # What is your output device? 41 CONFIG_HID_OUT = monitor 42 43 # i8042 controller support 44 CONFIG_I8042 = y 45 46 # PC keyboard support 47 CONFIG_PC_KBD = y 48 49 # EGA support 50 CONFIG_EGA = y 48 51 49 52 # Framebuffer support … … 51 54 52 55 # Framebuffer width 53 CONFIG_VESA_WIDTH = 102456 CONFIG_VESA_WIDTH = 800 54 57 55 58 # Framebuffer height 56 CONFIG_VESA_HEIGHT = 76859 CONFIG_VESA_HEIGHT = 600 57 60 58 61 # Framebuffer depth 59 CONFIG_VESA_BPP = 24 62 CONFIG_VESA_BPP = 16 63 64 # Keyboard layout 65 KBD_LAYOUT = us_qwerty -
defaults/arm32/Makefile.config
rec944b1 r31fb9a0 3 3 4 4 # Ramdisk format 5 RDFMT = tmpfs5 RDFMT = fat 6 6 7 7 # Compiler … … 12 12 13 13 # Support for userspace debuggers 14 CONFIG_UDEBUG = n14 CONFIG_UDEBUG = y 15 15 16 16 # Kernel console support … … 23 23 CONFIG_TEST = y 24 24 25 # What is your input device? 26 CONFIG_HID_IN = keyboard 27 28 # What is your output device? 29 CONFIG_HID_OUT = monitor 30 25 31 # Framebuffer support 26 32 CONFIG_FB = y 33 34 # Keyboard layout 35 KBD_LAYOUT = us_qwerty -
defaults/ia32/Makefile.config
rec944b1 r31fb9a0 3 3 4 4 # CPU type 5 MACHINE= pentium45 PROCESSOR = pentium4 6 6 7 7 # Ramdisk format 8 RDFMT = tmpfs8 RDFMT = fat 9 9 10 10 # Compiler … … 14 14 CONFIG_DEBUG = y 15 15 16 # Deadlock detection support for spinlocks 17 CONFIG_DEBUG_SPINLOCK = y 18 19 # ACPI support 20 CONFIG_ACPI = y 21 16 22 # Support for SMP 17 23 CONFIG_SMP = y … … 20 26 CONFIG_HT = y 21 27 22 # Simics BIOS AP boot fix23 CONFIG_SIMICS_FIX = y24 25 28 # Lazy FPU context switching 26 29 CONFIG_FPU_LAZY = y 27 30 28 31 # Support for userspace debuggers 29 CONFIG_UDEBUG = n32 CONFIG_UDEBUG = y 30 33 31 34 # Kernel console support … … 35 38 CONFIG_LOG = n 36 39 37 # Deadlock detection support for spinlocks38 CONFIG_DEBUG_SPINLOCK = y39 40 # Watchpoint on rewriting AS with zero41 CONFIG_DEBUG_AS_WATCHPOINT = y42 43 # Save all interrupt registers44 CONFIG_DEBUG_ALLREGS = y45 46 40 # Compile kernel tests 47 41 CONFIG_TEST = y 42 43 # What is your input device? 44 CONFIG_HID_IN = keyboard 45 46 # What is your output device? 47 CONFIG_HID_OUT = monitor 48 49 # i8042 controller support 50 CONFIG_I8042 = y 51 52 # PC keyboard support 53 CONFIG_PC_KBD = y 54 55 # EGA support 56 CONFIG_EGA = y 48 57 49 58 # Framebuffer support … … 51 60 52 61 # Framebuffer width 53 CONFIG_VESA_WIDTH = 102462 CONFIG_VESA_WIDTH = 800 54 63 55 64 # Framebuffer height 56 CONFIG_VESA_HEIGHT = 76865 CONFIG_VESA_HEIGHT = 600 57 66 58 67 # Framebuffer depth 59 CONFIG_VESA_BPP = 24 68 CONFIG_VESA_BPP = 16 69 70 # Keyboard layout 71 KBD_LAYOUT = us_qwerty -
defaults/ia64/Makefile.config
rec944b1 r31fb9a0 2 2 PLATFORM = ia64 3 3 4 # Machine type5 MACHINE = i460GX6 7 4 # Ramdisk format 8 RDFMT = tmpfs5 RDFMT = fat 9 6 10 7 # Compiler … … 13 10 # Debug build 14 11 CONFIG_DEBUG = y 12 13 # Deadlock detection support for spinlocks 14 CONFIG_DEBUG_SPINLOCK = y 15 15 16 16 # Support for SMP … … 21 21 22 22 # Use VHPT 23 CONFIG_VHPT = n 24 25 # Support for NS16550 serial port 26 CONFIG_NS16550 = y 27 28 # IOSapic on default address support 29 CONFIG_IOSAPIC = y 30 31 # Interrupt-driven driver for NS16550? 32 CONFIG_NS16550_INTERRUPT_DRIVEN = y 23 CONFIG_VHPT = y 33 24 34 25 # Support for userspace debuggers 35 CONFIG_UDEBUG = n26 CONFIG_UDEBUG = y 36 27 37 28 # Kernel console support … … 41 32 CONFIG_LOG = n 42 33 43 # Deadlock detection support for spinlocks44 CONFIG_DEBUG_SPINLOCK = y45 46 34 # Compile kernel tests 47 35 CONFIG_TEST = y 36 37 # Keyboard layout 38 KBD_LAYOUT = us_qwerty -
defaults/mips32/Makefile.config
rec944b1 r31fb9a0 2 2 PLATFORM = mips32 3 3 4 # Machine type5 MACHINE = lgxemul6 7 4 # Ramdisk format 8 RDFMT = tmpfs5 RDFMT = fat 9 6 10 7 # Compiler … … 14 11 CONFIG_DEBUG = y 15 12 16 # Lazy FPU context switching 17 CONFIG_FPU_LAZY = y 13 # Deadlock detection support for spinlocks 14 CONFIG_DEBUG_SPINLOCK = y 15 16 # Support for SMP 17 CONFIG_SMP = y 18 18 19 19 # Support for userspace debuggers 20 CONFIG_UDEBUG = n20 CONFIG_UDEBUG = y 21 21 22 22 # Kernel console support … … 26 26 CONFIG_LOG = n 27 27 28 # Save all interrupt registers29 CONFIG_DEBUG_ALLREGS = y30 31 28 # Compile kernel tests 32 29 CONFIG_TEST = y 33 30 34 # Framebuffer support35 CONFIG_FB =y31 # Keyboard layout 32 KBD_LAYOUT = us_qwerty -
defaults/ppc32/Makefile.config
rec944b1 r31fb9a0 3 3 4 4 # Ramdisk format 5 RDFMT = tmpfs5 RDFMT = fat 6 6 7 7 # Compiler … … 12 12 13 13 # Support for userspace debuggers 14 CONFIG_UDEBUG = n14 CONFIG_UDEBUG = y 15 15 16 16 # Kernel console support … … 23 23 CONFIG_TEST = y 24 24 25 # Input device class 26 CONFIG_HID_IN = keyboard 27 28 # Output device class 29 CONFIG_HID_OUT = monitor 30 31 # Framebuffer support 32 CONFIG_FB = y 33 25 34 # Use Block Address Translation by the loader 26 35 CONFIG_BAT = y 36 37 # Keyboard layout 38 KBD_LAYOUT = us_qwerty -
tools/config.py
rec944b1 r31fb9a0 41 41 MACROS = 'config.h' 42 42 DEFS = 'config.defs' 43 PRECONF = 'defaults' 43 44 44 45 def read_defaults(fname, defaults): … … 277 278 outdf.close() 278 279 280 def sorted_dir(root): 281 list = os.listdir(root) 282 list.sort() 283 return list 284 285 def read_preconfigured(root, fname, screen, defaults): 286 options = [] 287 opt2path = {} 288 cnt = 0 289 290 # Look for profiles 291 for name in sorted_dir(root): 292 path = os.path.join(root, name) 293 canon = os.path.join(path, fname) 294 295 if ((os.path.isdir(path)) and (os.path.exists(canon)) and (os.path.isfile(canon))): 296 subprofile = False 297 298 # Look for subprofiles 299 for subname in sorted_dir(path): 300 subpath = os.path.join(path, subname) 301 subcanon = os.path.join(subpath, fname) 302 303 if ((os.path.isdir(subpath)) and (os.path.exists(subcanon)) and (os.path.isfile(subcanon))): 304 subprofile = True 305 options.append("%s (%s)" % (name, subname)) 306 opt2path[cnt] = (canon, subcanon) 307 cnt += 1 308 309 if (not subprofile): 310 options.append(name) 311 opt2path[cnt] = (canon, None) 312 cnt += 1 313 314 (button, value) = xtui.choice_window(screen, 'Load preconfigured defaults', 'Choose configuration profile', options, None) 315 316 if (button == 'cancel'): 317 return None 318 319 read_defaults(opt2path[value][0], defaults) 320 if (opt2path[value][1] != None): 321 read_defaults(opt2path[value][1], defaults) 322 279 323 def main(): 280 324 defaults = {} … … 303 347 try: 304 348 selname = None 349 position = None 305 350 while True: 306 351 … … 312 357 options = [] 313 358 opt2row = {} 314 position = None 315 cnt = 0 359 cnt = 1 360 361 options.append(" --- Load preconfigured defaults ... ") 362 316 363 for varname, vartype, name, choices, cond in ask_names: 317 364 … … 362 409 cnt += 1 363 410 411 if (position >= options): 412 position = None 413 364 414 (button, value) = xtui.choice_window(screen, 'HelenOS configuration', 'Choose configuration option', options, position) 365 415 … … 367 417 return 'Configuration canceled' 368 418 419 if (value == 0): 420 read_preconfigured(PRECONF, MAKEFILE, screen, defaults) 421 position = 1 422 continue 423 424 position = None 369 425 if (not opt2row.has_key(value)): 370 426 raise RuntimeError("Error selecting value: %s" % value)
Note:
See TracChangeset
for help on using the changeset viewer.