Changes in / [fe1c48d:03936831] in mainline
- Files:
-
- 11 added
- 4 deleted
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
.bzrignore
rfe1c48d r03936831 196 196 uspace/dist/demo.xm 197 197 uspace/dist/drv/ahci/ 198 uspace/dist/drv/apic/ 198 199 uspace/dist/drv/ar9271/ 199 200 uspace/dist/drv/ata_bd/ … … 204 205 uspace/dist/drv/hdaudio/ 205 206 uspace/dist/drv/i8042/ 207 uspace/dist/drv/i8259/ 206 208 uspace/dist/drv/icp/ 207 209 uspace/dist/drv/icp-ic/ … … 236 238 uspace/dist/inc/c/ 237 239 uspace/dist/logo.tga 238 uspace/dist/srv/apic239 240 uspace/dist/srv/cdfs 240 241 uspace/dist/srv/clipboard … … 250 251 uspace/dist/srv/file_bd 251 252 uspace/dist/srv/hound 252 uspace/dist/srv/i8259253 253 uspace/dist/srv/inetsrv 254 254 uspace/dist/srv/input … … 299 299 uspace/drv/fb/amdm37x_dispc/amdm37x_dispc 300 300 uspace/drv/fb/kfb/kfb 301 uspace/drv/intctl/apic/apic 302 uspace/drv/intctl/i8259/i8259 301 303 uspace/drv/intctl/icp-ic/icp-ic 302 304 uspace/drv/nic/ar9271/ar9271 … … 385 387 uspace/srv/hw/bus/cuda_adb/cuda_adb 386 388 uspace/srv/hw/char/s3c24xx_uart/s3c24ser 387 uspace/srv/hw/irc/apic/apic388 uspace/srv/hw/irc/i8259/i8259389 389 uspace/srv/hw/irc/obio/obio 390 390 uspace/srv/klog/klog -
Makefile
rfe1c48d r03936831 31 31 32 32 CSCOPE = cscope 33 FORMAT = clang-format 33 34 CHECK = tools/check.sh 34 35 CONFIG = tools/config.py … … 64 65 find boot -type f -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE)_boot.out 65 66 find uspace -type f -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE)_uspace.out 67 68 format: 69 find abi kernel boot uspace -type f -regex '^.*\.[ch]$$' | xargs $(FORMAT) -i -sort-includes -style=file 66 70 67 71 # Pre-integration build check -
boot/arch/amd64/Makefile.inc
rfe1c48d r03936831 29 29 RD_SRVS_ESSENTIAL += \ 30 30 $(USPACE_PATH)/srv/audio/hound/hound \ 31 $(USPACE_PATH)/srv/devman/devman \ 32 $(USPACE_PATH)/srv/hw/irc/apic/apic \ 33 $(USPACE_PATH)/srv/hw/irc/i8259/i8259 34 31 $(USPACE_PATH)/srv/devman/devman 35 32 36 33 RD_DRVS_ESSENTIAL += \ 34 intctl/apic \ 35 intctl/i8259 \ 37 36 platform/pc \ 38 block/ata_bd \39 37 bus/pci/pciintel \ 40 38 bus/isa \ -
uspace/Makefile
rfe1c48d r03936831 135 135 srv/hid/remcons \ 136 136 srv/hw/char/s3c24xx_uart \ 137 srv/hw/irc/apic \138 srv/hw/irc/i8259 \139 137 srv/hw/irc/obio \ 140 138 srv/hid/rfb \ … … 170 168 drv/fb/amdm37x_dispc \ 171 169 drv/fb/kfb \ 170 drv/intctl/apic \ 171 drv/intctl/i8259 \ 172 172 drv/intctl/icp-ic \ 173 173 drv/nic/ne2k \ -
uspace/app/init/init.c
rfe1c48d r03936831 338 338 339 339 srv_start("/srv/devman"); 340 srv_start("/srv/apic");341 srv_start("/srv/i8259");342 340 srv_start("/srv/obio"); 343 341 srv_start("/srv/s3c24xx_uart"); -
uspace/app/mkmfs/mkmfs.c
rfe1c48d r03936831 348 348 unsigned int i; 349 349 uint8_t *itable_buf; 350 int rc ;350 int rc = EOK; 351 351 352 352 long itable_off = sb->zbmap_blocks + sb->ibmap_blocks + 2; … … 633 633 const unsigned int zbmap_nblocks = sb->zbmap_blocks; 634 634 unsigned int i; 635 int rc ;635 int rc = EOK; 636 636 637 637 ibmap_buf = malloc(ibmap_nblocks * sb->block_size); … … 660 660 if ((rc = write_block(start_block + i, 661 661 1, (ibmap_buf8 + i * sb->block_size))) != EOK) 662 return rc;662 goto exit; 663 663 } 664 664 … … 668 668 if ((rc = write_block(start_block + i, 669 669 1, (zbmap_buf8 + i * sb->block_size))) != EOK) 670 return rc;670 goto exit; 671 671 } 672 672 -
uspace/app/sbi/src/os/helenos.c
rfe1c48d r03936831 155 155 size_t offset; 156 156 int i; 157 wchar_t c ;157 wchar_t c = 0; 158 158 159 159 if (index < 0) -
uspace/app/sbi/src/run_expr.c
rfe1c48d r03936831 2504 2504 elem_index = 0; 2505 2505 2506 assert(node != NULL); 2507 2506 2508 i = 0; 2507 while (node != NULL){2509 do { 2508 2510 if (i >= 1) { 2509 2511 printf("Error: Too many indices string.\n"); … … 2527 2529 node = list_next(args, node); 2528 2530 i += 1; 2529 } 2531 } while (node != NULL); 2530 2532 2531 2533 if (i < 1) { -
uspace/drv/bus/isa/isa.c
rfe1c48d r03936831 453 453 } 454 454 455 static void isa_fun_add_mem_range(isa_fun_t *fun, uintptr_t addr, size_t len) 456 { 457 size_t count = fun->hw_resources.count; 458 hw_resource_t *resources = fun->hw_resources.resources; 459 460 isa_bus_t *isa = isa_bus(ddf_fun_get_dev(fun->fnode)); 461 462 if (count < ISA_MAX_HW_RES) { 463 resources[count].type = MEM_RANGE; 464 resources[count].res.mem_range.address = addr; 465 resources[count].res.mem_range.address += isa->pio_win.mem.base; 466 resources[count].res.mem_range.size = len; 467 resources[count].res.mem_range.relative = true; 468 resources[count].res.mem_range.endianness = LITTLE_ENDIAN; 469 470 fun->hw_resources.count++; 471 472 ddf_msg(LVL_NOTE, "Added mem range (addr=0x%zx, size=0x%x) to " 473 "function %s", (uintptr_t) addr, (unsigned int) len, 474 ddf_fun_get_name(fun->fnode)); 475 } 476 } 477 455 478 static void fun_parse_irq(isa_fun_t *fun, const char *val) 456 479 { … … 496 519 } 497 520 521 static void fun_parse_mem_range(isa_fun_t *fun, const char *val) 522 { 523 uintptr_t addr; 524 size_t len; 525 char *end = NULL; 526 527 val = skip_spaces(val); 528 addr = strtoul(val, &end, 0x10); 529 530 if (val == end) 531 return; 532 533 val = skip_spaces(end); 534 len = strtol(val, &end, 0x10); 535 536 if (val == end) 537 return; 538 539 isa_fun_add_mem_range(fun, addr, len); 540 } 541 498 542 static void get_match_id(char **id, const char *val) 499 543 { … … 564 608 565 609 if (!prop_parse(fun, line, "io_range", &fun_parse_io_range) && 610 !prop_parse(fun, line, "mem_range", &fun_parse_mem_range) && 566 611 !prop_parse(fun, line, "irq", &fun_parse_irq) && 567 612 !prop_parse(fun, line, "dma", &fun_parse_dma) && -
uspace/drv/bus/isa/isa.dev
rfe1c48d r03936831 1 i8259: 2 match 100 isa/i8259 3 mem_range 0x20 2 4 mem_range 0xa0 2 5 6 apic: 7 match 100 isa/apic 8 mem_range 0xfec00000 0x14 1 9 com1: 2 10 match 100 isa/ns8250 -
uspace/drv/bus/pci/pciintel/pci.c
rfe1c48d r03936831 293 293 const uint32_t conf_addr = CONF_ADDR(fun->bus, fun->dev, fun->fn, reg); 294 294 pci_bus_t *bus = pci_bus_from_fun(fun); 295 uint32_t val ;295 uint32_t val = 0; 296 296 297 297 fibril_mutex_lock(&bus->conf_mutex); -
uspace/drv/intctl/icp-ic/icp-ic.c
rfe1c48d r03936831 42 42 #include <errno.h> 43 43 #include <ipc/irc.h> 44 #include <loc.h>45 44 #include <stdint.h> 46 45 -
uspace/drv/intctl/icp-ic/icp-ic.h
rfe1c48d r03936831 34 34 35 35 #ifndef ICP_IC_H_ 36 #define ICP_IC_H 36 #define ICP_IC_H_ 37 37 38 38 #include <ddf/driver.h> -
uspace/drv/platform/icp/icp.c
rfe1c48d r03936831 279 279 int rc; 280 280 281 rc = icp_add_fun(dev, "kbd", "arm/pl050", &icp_kbd_fun_proto);282 if (rc != EOK)283 return rc;284 285 rc = icp_add_fun(dev, "mouse", "arm/pl050", &icp_mouse_fun_proto);286 if (rc != EOK)287 return rc;288 289 281 rc = icp_add_fun(dev, "intctl", "integratorcp/intctl", 290 282 &icp_ic_fun_proto); … … 292 284 return rc; 293 285 286 rc = icp_add_fun(dev, "kbd", "arm/pl050", &icp_kbd_fun_proto); 287 if (rc != EOK) 288 return rc; 289 290 rc = icp_add_fun(dev, "mouse", "arm/pl050", &icp_mouse_fun_proto); 291 if (rc != EOK) 292 return rc; 293 294 294 return EOK; 295 295 } -
uspace/lib/bithenge/src/compound.c
rfe1c48d r03936831 81 81 82 82 *out = in; 83 return rc;83 return EOK; 84 84 } 85 85 -
uspace/lib/ext4/src/extent.c
rfe1c48d r03936831 375 375 uint32_t *fblock) 376 376 { 377 int rc ;377 int rc = EOK; 378 378 /* Compute bound defined by i-node size */ 379 379 uint64_t inode_size = -
uspace/lib/trackmod/xm.c
rfe1c48d r03936831 289 289 size_t instr_size; 290 290 size_t smp_size; 291 size_t smp_hdr_size ;291 size_t smp_hdr_size = 0; /* GCC false alarm on uninitialized */ 292 292 ssize_t nread; 293 293 uint8_t ltype;
Note:
See TracChangeset
for help on using the changeset viewer.