[bootsvc] Pass boot arguments through FIDL
Rather than rely on environment variables to pass boot arguments between bootsvc and the next process, use a FIDL service. Boot arguments are passed through the service using a read-only VMO. This is due to the limitations of simple layouts in FIDL. ZX-3385 Test: Added new tests, also booted Fuchsia to a UI. Change-Id: I6cdf62e279a1cd6e72bc37d160cc69f39107c431
Showing
- zircon/system/core/bootsvc/integration-test.cpp 66 additions, 13 deletionszircon/system/core/bootsvc/integration-test.cpp
- zircon/system/core/bootsvc/main.cpp 57 additions, 61 deletionszircon/system/core/bootsvc/main.cpp
- zircon/system/core/bootsvc/svcfs-service.cpp 34 additions, 2 deletionszircon/system/core/bootsvc/svcfs-service.cpp
- zircon/system/core/bootsvc/svcfs-service.h 4 additions, 1 deletionzircon/system/core/bootsvc/svcfs-service.h
- zircon/system/core/bootsvc/util.cpp 33 additions, 0 deletionszircon/system/core/bootsvc/util.cpp
- zircon/system/core/bootsvc/util.h 6 additions, 0 deletionszircon/system/core/bootsvc/util.h
- zircon/system/core/devmgr/devmgr/BUILD.gn 12 additions, 0 deletionszircon/system/core/devmgr/devmgr/BUILD.gn
- zircon/system/core/devmgr/devmgr/boot-args-test.cpp 76 additions, 0 deletionszircon/system/core/devmgr/devmgr/boot-args-test.cpp
- zircon/system/core/devmgr/devmgr/boot-args.cpp 78 additions, 0 deletionszircon/system/core/devmgr/devmgr/boot-args.cpp
- zircon/system/core/devmgr/devmgr/boot-args.h 45 additions, 0 deletionszircon/system/core/devmgr/devmgr/boot-args.h
- zircon/system/core/devmgr/devmgr/main.cpp 142 additions, 126 deletionszircon/system/core/devmgr/devmgr/main.cpp
- zircon/system/fidl/fuchsia-boot/BUILD.gn 1 addition, 0 deletionszircon/system/fidl/fuchsia-boot/BUILD.gn
- zircon/system/fidl/fuchsia-boot/arguments.fidl 13 additions, 0 deletionszircon/system/fidl/fuchsia-boot/arguments.fidl
Loading
Please register or sign in to comment