Changes in / [03936831:fe1c48d] in mainline
- Files:
-
- 4 added
- 11 deleted
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
.bzrignore
r03936831 rfe1c48d 196 196 uspace/dist/demo.xm 197 197 uspace/dist/drv/ahci/ 198 uspace/dist/drv/apic/199 198 uspace/dist/drv/ar9271/ 200 199 uspace/dist/drv/ata_bd/ … … 205 204 uspace/dist/drv/hdaudio/ 206 205 uspace/dist/drv/i8042/ 207 uspace/dist/drv/i8259/208 206 uspace/dist/drv/icp/ 209 207 uspace/dist/drv/icp-ic/ … … 238 236 uspace/dist/inc/c/ 239 237 uspace/dist/logo.tga 238 uspace/dist/srv/apic 240 239 uspace/dist/srv/cdfs 241 240 uspace/dist/srv/clipboard … … 251 250 uspace/dist/srv/file_bd 252 251 uspace/dist/srv/hound 252 uspace/dist/srv/i8259 253 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/apic302 uspace/drv/intctl/i8259/i8259303 301 uspace/drv/intctl/icp-ic/icp-ic 304 302 uspace/drv/nic/ar9271/ar9271 … … 387 385 uspace/srv/hw/bus/cuda_adb/cuda_adb 388 386 uspace/srv/hw/char/s3c24xx_uart/s3c24ser 387 uspace/srv/hw/irc/apic/apic 388 uspace/srv/hw/irc/i8259/i8259 389 389 uspace/srv/hw/irc/obio/obio 390 390 uspace/srv/klog/klog -
Makefile
r03936831 rfe1c48d 31 31 32 32 CSCOPE = cscope 33 FORMAT = clang-format34 33 CHECK = tools/check.sh 35 34 CONFIG = tools/config.py … … 65 64 find boot -type f -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE)_boot.out 66 65 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=file70 66 71 67 # Pre-integration build check -
boot/arch/amd64/Makefile.inc
r03936831 rfe1c48d 29 29 RD_SRVS_ESSENTIAL += \ 30 30 $(USPACE_PATH)/srv/audio/hound/hound \ 31 $(USPACE_PATH)/srv/devman/devman 31 $(USPACE_PATH)/srv/devman/devman \ 32 $(USPACE_PATH)/srv/hw/irc/apic/apic \ 33 $(USPACE_PATH)/srv/hw/irc/i8259/i8259 34 32 35 33 36 RD_DRVS_ESSENTIAL += \ 34 intctl/apic \35 intctl/i8259 \36 37 platform/pc \ 38 block/ata_bd \ 37 39 bus/pci/pciintel \ 38 40 bus/isa \ -
uspace/Makefile
r03936831 rfe1c48d 135 135 srv/hid/remcons \ 136 136 srv/hw/char/s3c24xx_uart \ 137 srv/hw/irc/apic \ 138 srv/hw/irc/i8259 \ 137 139 srv/hw/irc/obio \ 138 140 srv/hid/rfb \ … … 168 170 drv/fb/amdm37x_dispc \ 169 171 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
r03936831 rfe1c48d 338 338 339 339 srv_start("/srv/devman"); 340 srv_start("/srv/apic"); 341 srv_start("/srv/i8259"); 340 342 srv_start("/srv/obio"); 341 343 srv_start("/srv/s3c24xx_uart"); -
uspace/app/mkmfs/mkmfs.c
r03936831 rfe1c48d 348 348 unsigned int i; 349 349 uint8_t *itable_buf; 350 int rc = EOK;350 int rc; 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 = EOK;635 int rc; 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 goto exit;662 return rc; 663 663 } 664 664 … … 668 668 if ((rc = write_block(start_block + i, 669 669 1, (zbmap_buf8 + i * sb->block_size))) != EOK) 670 goto exit;670 return rc; 671 671 } 672 672 -
uspace/app/sbi/src/os/helenos.c
r03936831 rfe1c48d 155 155 size_t offset; 156 156 int i; 157 wchar_t c = 0;157 wchar_t c; 158 158 159 159 if (index < 0) -
uspace/app/sbi/src/run_expr.c
r03936831 rfe1c48d 2504 2504 elem_index = 0; 2505 2505 2506 assert(node != NULL);2507 2508 2506 i = 0; 2509 do{2507 while (node != NULL) { 2510 2508 if (i >= 1) { 2511 2509 printf("Error: Too many indices string.\n"); … … 2529 2527 node = list_next(args, node); 2530 2528 i += 1; 2531 } while (node != NULL);2529 } 2532 2530 2533 2531 if (i < 1) { -
uspace/drv/bus/isa/isa.c
r03936831 rfe1c48d 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 478 455 static void fun_parse_irq(isa_fun_t *fun, const char *val) 479 456 { … … 519 496 } 520 497 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 542 498 static void get_match_id(char **id, const char *val) 543 499 { … … 608 564 609 565 if (!prop_parse(fun, line, "io_range", &fun_parse_io_range) && 610 !prop_parse(fun, line, "mem_range", &fun_parse_mem_range) &&611 566 !prop_parse(fun, line, "irq", &fun_parse_irq) && 612 567 !prop_parse(fun, line, "dma", &fun_parse_dma) && -
uspace/drv/bus/isa/isa.dev
r03936831 rfe1c48d 1 i8259:2 match 100 isa/i82593 mem_range 0x20 24 mem_range 0xa0 25 6 apic:7 match 100 isa/apic8 mem_range 0xfec00000 0x149 1 com1: 10 2 match 100 isa/ns8250 -
uspace/drv/bus/pci/pciintel/pci.c
r03936831 rfe1c48d 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 = 0;295 uint32_t val; 296 296 297 297 fibril_mutex_lock(&bus->conf_mutex); -
uspace/drv/intctl/icp-ic/icp-ic.c
r03936831 rfe1c48d 42 42 #include <errno.h> 43 43 #include <ipc/irc.h> 44 #include <loc.h> 44 45 #include <stdint.h> 45 46 -
uspace/drv/intctl/icp-ic/icp-ic.h
r03936831 rfe1c48d 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
r03936831 rfe1c48d 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 281 289 rc = icp_add_fun(dev, "intctl", "integratorcp/intctl", 282 290 &icp_ic_fun_proto); … … 284 292 return rc; 285 293 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
r03936831 rfe1c48d 81 81 82 82 *out = in; 83 return EOK;83 return rc; 84 84 } 85 85 -
uspace/lib/ext4/src/extent.c
r03936831 rfe1c48d 375 375 uint32_t *fblock) 376 376 { 377 int rc = EOK;377 int rc; 378 378 /* Compute bound defined by i-node size */ 379 379 uint64_t inode_size = -
uspace/lib/trackmod/xm.c
r03936831 rfe1c48d 289 289 size_t instr_size; 290 290 size_t smp_size; 291 size_t smp_hdr_size = 0; /* GCC false alarm on uninitialized */291 size_t smp_hdr_size; 292 292 ssize_t nread; 293 293 uint8_t ltype;
Note:
See TracChangeset
for help on using the changeset viewer.