SVNews r327416

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-12-31 05:22:26 - r327416 by kevans (kevans)

Complete list of files affected by revision r327416:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/stand/fdt/fdt_loader_cmd.c  
  History   Contents   Diff   MODIFY   /head/stand/fdt/fdt_overlay.c  
  History   Contents   Diff   MODIFY   /head/stand/fdt/fdt_overlay.h  

Commit message:

stand/fdt: Make fdt_overlay_apply signature-compatible with libfdt

libfdt will assume a writable fdt overlay blob has been passed in, so make
ours compatible to allow easier review when we try to drop libfdt into
place. overlay from the calling context is writable, making it safe to
simply rip out everything related to copying the overlay blob in
fdt_overlay_apply.

I note here that we still have problems: fdt_overlay_apply, both our version
and libfdt's, may fail and have already clobbered the base fdt to some
extent. Future work will make sure we don't apply a potentially bogus fdt,
instead discarding the base fdt if we had an error.

Reviewed by: gonzo
Differential Revision: https://reviews.freebsd.org/D13695

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 38 ms, 3 files printed. Current time is 2018-01-18 19:31:32. All times are in UTC/GMT.