Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2744 → Rev 2745

/trunk/kernel/genarch/src/ofw/ebus.c
57,7 → 57,7
ranges = prop->size / sizeof(ofw_ebus_range_t);
range = prop->value;
int i;
unsigned int i;
for (i = 0; i < ranges; i++) {
if (reg->space != range[i].child_space)
102,7 → 102,7
uint32_t addr = reg->addr & intr_mask->addr_mask;
uint32_t intr = interrupt & intr_mask->intr_mask;
int i;
unsigned int i;
for (i = 0; i < count; i++) {
if ((intr_map[i].space == space) && (intr_map[i].addr == addr)
&& (intr_map[i].intr == intr))
/trunk/kernel/genarch/src/ofw/fhc.c
55,7 → 55,7
ranges = prop->size / sizeof(ofw_fhc_range_t);
range = prop->value;
int i;
unsigned int i;
for (i = 0; i < ranges; i++) {
if (overlaps(reg->addr, reg->size, range[i].child_base, range[i].size)) {
97,7 → 97,7
ranges = prop->size / sizeof(ofw_central_range_t);
range = prop->value;
int i;
unsigned int i;
for (i = 0; i < ranges; i++) {
if (overlaps(reg->addr, reg->size, range[i].child_base, range[i].size)) {
/trunk/kernel/genarch/src/ofw/ofw_tree.c
61,7 → 61,7
*/
ofw_tree_property_t *ofw_tree_getprop(const ofw_tree_node_t *node, const char *name)
{
int i;
unsigned int i;
for (i = 0; i < node->properties; i++) {
if (strcmp(node->property[i].name, name) == 0)
/trunk/kernel/genarch/src/ofw/pci.c
65,7 → 65,7
ranges = prop->size / sizeof(ofw_pci_range_t);
range = prop->value;
int i;
unsigned int i;
for (i = 0; i < ranges; i++) {
if ((reg->space & PCI_SPACE_MASK) != (range[i].space & PCI_SPACE_MASK))
100,7 → 100,7
assigned_addresses = prop->size / sizeof(ofw_pci_reg_t);
assigned_address = prop->value;
int i;
unsigned int i;
for (i = 0; i < assigned_addresses; i++) {
if ((assigned_address[i].space & PCI_REG_MASK) == (reg->space & PCI_REG_MASK)) {
/trunk/kernel/genarch/src/ofw/sbus.c
61,7 → 61,7
ranges = prop->size / sizeof(ofw_sbus_range_t);
range = prop->value;
int i;
unsigned int i;
for (i = 0; i < ranges; i++) {
if (overlaps(reg->addr, reg->size, range[i].child_base,