Changeset 8565a42 in mainline for kernel/generic/src/lib/rd.c
- Timestamp:
- 2018-03-02T20:34:50Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1a81f69, d5e5fd1
- Parents:
- 3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
- git-committer:
- GitHub <noreply@…> (2018-03-02 20:34:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/lib/rd.c
r3061bc1 r8565a42 58 58 uintptr_t base = (uintptr_t) data; 59 59 assert((base % FRAME_SIZE) == 0); 60 60 61 61 rd_parea.pbase = base; 62 62 rd_parea.frames = SIZE2FRAMES(size); … … 64 64 rd_parea.mapped = false; 65 65 ddi_parea_register(&rd_parea); 66 66 67 67 sysinfo_set_item_val("rd", NULL, true); 68 68 sysinfo_set_item_val("rd.size", NULL, size); 69 69 sysinfo_set_item_val("rd.address.physical", NULL, (sysarg_t) base); 70 70 71 71 log(LF_OTHER, LVL_NOTE, "RAM disk at %p (size %zu bytes)", (void *) base, 72 72 size);
Note:
See TracChangeset
for help on using the changeset viewer.