Changeset aa537a5a in mainline for uspace/lib/c/generic
- Timestamp:
- 2017-11-01T20:33:08Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d0cbfd3
- Parents:
- 315130c
- Location:
- uspace/lib/c/generic
- Files:
-
- 2 edited
-
ddi.c (modified) (2 diffs)
-
pio_trace.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/ddi.c
r315130c raa537a5a 338 338 } 339 339 340 void pio_write_64(ioport64_t *reg, uint64_t val) 341 { 342 pio_trace_log(reg, val, true); 343 arch_pio_write_64(reg, val); 344 } 345 340 346 uint8_t pio_read_8(const ioport8_t *reg) 341 347 { … … 359 365 } 360 366 367 uint64_t pio_read_64(const ioport64_t *reg) 368 { 369 const uint64_t val = arch_pio_read_64(reg); 370 pio_trace_log(reg, val, false); 371 return val; 372 } 373 361 374 /** @} 362 375 */ -
uspace/lib/c/generic/pio_trace.c
r315130c raa537a5a 91 91 92 92 93 void pio_trace_log(const volatile void *r, uint 32_t val, bool write)93 void pio_trace_log(const volatile void *r, uint64_t val, bool write) 94 94 { 95 95 pio_regions_t *regions = get_regions();
Note:
See TracChangeset
for help on using the changeset viewer.
