Changeset f4cfd271 in mainline for uspace/drv/platform/sun4v/sun4v.c
- Timestamp:
- 2017-11-26T10:22:30Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 474c68b
- Parents:
- 5f4c41b2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/platform/sun4v/sun4v.c
r5f4c41b2 rf4cfd271 75 75 } 76 76 }, 77 { 78 .type = MEM_RANGE, 79 .res.mem_range = { 80 .address = 0, 81 .size = PAGE_SIZE, 82 .relative = true, 83 .endianness = LITTLE_ENDIAN 84 } 85 }, 77 86 }; 78 87 … … 223 232 } 224 233 225 console_data.pio_window.mem.base = paddr; 234 console_res[0].res.mem_range.address = paddr; 235 236 rc = sysinfo_get_value("niagara.outbuf.address", &paddr); 237 if (rc != EOK) { 238 ddf_msg(LVL_ERROR, "niagara.outbuf.address not set (%d)", rc); 239 return rc; 240 } 241 242 console_res[1].res.mem_range.address = paddr; 226 243 return EOK; 227 244 }
Note:
See TracChangeset
for help on using the changeset viewer.