Changeset a63d216 in mainline
- Timestamp:
- 2014-03-16T21:39:14Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e1fc679a
- Parents:
- 2e231aba
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
r2e231aba ra63d216 609 609 ! [CONFIG_DEBUG=y] CONFIG_TEST_DRIVERS (n/y) 610 610 611 % Load disk drivers on startup612 ! CONFIG_START_BD (n/y)613 614 % Mount /data on startup615 ! [CONFIG_START_BD=y] CONFIG_MOUNT_DATA (n/y)616 617 611 % Write core files 618 612 ! CONFIG_WRITE_CORE_FILES (n/y) -
defaults/amd64/Makefile.config
r2e231aba ra63d216 59 59 CONFIG_BFB_BPP = 16 60 60 61 # Load disk drivers on startup62 CONFIG_START_BD = n63 64 # Mount /data on startup65 CONFIG_MOUNT_DATA = n66 67 61 # OHCI root hub power switch, ganged is enough 68 62 OHCI_POWER_SWITCH = ganged -
defaults/arm32/Makefile.config
r2e231aba ra63d216 34 34 # What is your output device? 35 35 CONFIG_HID_OUT = generic 36 37 # Load disk drivers on startup38 CONFIG_START_BD = n39 40 # Mount /data on startup41 CONFIG_MOUNT_DATA = n42 -
defaults/ia32/Makefile.config
r2e231aba ra63d216 65 65 CONFIG_BFB_BPP = 16 66 66 67 # Load disk drivers on startup68 CONFIG_START_BD = n69 70 # Mount /data on startup71 CONFIG_MOUNT_DATA = n72 73 67 # OHCI root hub power switch, ganged is enough 74 68 OHCI_POWER_SWITCH = ganged -
defaults/ia64/Makefile.config
r2e231aba ra63d216 46 46 # Output device class 47 47 CONFIG_HID_OUT = generic 48 49 # Load disk drivers on startup50 CONFIG_START_BD = n51 52 # Mount /data on startup53 CONFIG_MOUNT_DATA = n54 -
defaults/mips32/Makefile.config
r2e231aba ra63d216 41 41 CONFIG_HID_OUT = generic 42 42 43 # Load disk drivers on startup44 CONFIG_START_BD = n45 46 # Mount /data on startup47 CONFIG_MOUNT_DATA = n48 49 43 # Barebone build with essential binaries only 50 44 CONFIG_BAREBONE = y -
defaults/mips64/Makefile.config
r2e231aba ra63d216 40 40 # Output device class 41 41 CONFIG_HID_OUT = generic 42 43 # Load disk drivers on startup44 CONFIG_START_BD = n45 46 # Mount /data on startup47 CONFIG_MOUNT_DATA = n48 -
defaults/ppc32/Makefile.config
r2e231aba ra63d216 38 38 CONFIG_FB = y 39 39 40 # Load disk drivers on startup41 CONFIG_START_BD = n42 43 # Mount /data on startup44 CONFIG_MOUNT_DATA = n45 46 40 # OHCI root hub power switch, ganged is enough 47 41 OHCI_POWER_SWITCH = ganged -
defaults/sparc32/Makefile.config
r2e231aba ra63d216 52 52 # Start AP processors by the loader 53 53 CONFIG_AP = y 54 55 # Load disk drivers on startup56 CONFIG_START_BD = n57 58 # Mount /data on startup59 CONFIG_MOUNT_DATA = n60 -
defaults/sparc64/Makefile.config
r2e231aba ra63d216 52 52 # Start AP processors by the loader 53 53 CONFIG_AP = y 54 55 # Load disk drivers on startup56 CONFIG_START_BD = n57 58 # Mount /data on startup59 CONFIG_MOUNT_DATA = n60 -
defaults/special/Makefile.config
r2e231aba ra63d216 28 28 # Compile kernel tests 29 29 CONFIG_TEST = y 30 31 # Load disk drivers on startup32 CONFIG_START_BD = n33 -
uspace/app/init/init.c
r2e231aba ra63d216 59 59 #define TMPFS_FS_TYPE "tmpfs" 60 60 #define TMPFS_MOUNT_POINT "/tmp" 61 62 #define DATA_FS_TYPE "fat"63 #define DATA_DEVICE "bd/ata1disk0"64 #define DATA_MOUNT_POINT "/data"65 61 66 62 #define SRV_CONSOLE "/srv/console" … … 316 312 } 317 313 318 static bool mount_data(void)319 {320 int rc = mount(DATA_FS_TYPE, DATA_MOUNT_POINT, DATA_DEVICE, "wtcache", 0, 0);321 return mount_report("Data filesystem", DATA_MOUNT_POINT, DATA_FS_TYPE,322 DATA_DEVICE, rc);323 }324 325 314 int main(int argc, char *argv[]) 326 315 { … … 366 355 srv_start("/srv/clipboard"); 367 356 srv_start("/srv/remcons"); 368 369 /*370 * Start these synchronously so that mount_data() can be371 * non-blocking.372 */373 #ifdef CONFIG_START_BD374 srv_start("/srv/ata_bd");375 #endif376 377 #ifdef CONFIG_MOUNT_DATA378 /* Make sure fat is running. */379 if (str_cmp(STRING(RDFMT), "fat") != 0)380 srv_start("/srv/fat");381 382 mount_data();383 #else384 (void) mount_data;385 #endif386 357 387 358 srv_start("/srv/input", HID_INPUT);
Note:
See TracChangeset
for help on using the changeset viewer.