Changeset f651e80 in mainline for kernel/genarch/src
- Timestamp:
- 2009-01-08T12:07:38Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7447572
- Parents:
- c571f42
- Location:
- kernel/genarch/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/ega/ega.c
rc571f42 rf651e80 79 79 backbuf = (uint8_t *) malloc(SCREEN * 2, 0); 80 80 if (!backbuf) 81 panic("Unable to allocate backbuffer. \n");81 panic("Unable to allocate backbuffer."); 82 82 83 83 videoram = (uint8_t *) hw_map(videoram_phys, SCREEN * 2); -
kernel/genarch/src/fb/fb.c
rc571f42 rf651e80 457 457 break; 458 458 default: 459 panic("Unsupported visual. \n");459 panic("Unsupported visual."); 460 460 } 461 461 … … 489 489 backbuf = (uint8_t *) malloc(bbsize, 0); 490 490 if (!backbuf) 491 panic("Unable to allocate backbuffer. \n");491 panic("Unable to allocate backbuffer."); 492 492 493 493 glyphs = (uint8_t *) malloc(glyphsize, 0); 494 494 if (!glyphs) 495 panic("Unable to allocate glyphs. \n");495 panic("Unable to allocate glyphs."); 496 496 497 497 bgscan = malloc(bgscanbytes, 0); 498 498 if (!bgscan) 499 panic("Unable to allocate background pixel. \n");499 panic("Unable to allocate background pixel."); 500 500 501 501 memsetb(backbuf, bbsize, 0); -
kernel/genarch/src/ofw/fhc.c
rc571f42 rf651e80 68 68 } 69 69 if (strcmp(ofw_tree_node_name(node->parent), "central") != 0) 70 panic("Unexpected parent node: %s. \n", ofw_tree_node_name(node->parent));70 panic("Unexpected parent node: %s.", ofw_tree_node_name(node->parent)); 71 71 72 72 ofw_central_reg_t central_reg; … … 85 85 { 86 86 if (node->parent->parent) 87 panic("Unexpected parent node: %s. \n", ofw_tree_node_name(node->parent));87 panic("Unexpected parent node: %s.", ofw_tree_node_name(node->parent)); 88 88 89 89 ofw_tree_property_t *prop; -
kernel/genarch/src/ofw/ofw_tree.c
rc571f42 rf651e80 86 86 prop = ofw_tree_getprop(node, "name"); 87 87 if (!prop) 88 panic("Node without name property. \n");88 panic("Node without name property."); 89 89 90 90 if (prop->size < 2) 91 panic("Invalid name property. \n");91 panic("Invalid name property."); 92 92 93 93 return prop->value; -
kernel/genarch/src/ofw/pci.c
rc571f42 rf651e80 102 102 prop = ofw_tree_getprop(node, "assigned-addresses"); 103 103 if (!prop) 104 panic("Can 't find \"assigned-addresses\" property.\n");104 panic("Cannot find 'assigned-addresses' property."); 105 105 106 106 assigned_addresses = prop->size / sizeof(ofw_pci_reg_t);
Note:
See TracChangeset
for help on using the changeset viewer.