[coreboot-gerrit] Change in libhwbase[master]: linux pci: Add dummy PCI access for shared contracts

Adrian-Ken Rueegsegger (Code Review) gerrit at coreboot.org
Mon Aug 28 11:07:53 CEST 2017


Adrian-Ken Rueegsegger has posted comments on this change. ( https://review.coreboot.org/21206 )

Change subject: linux pci: Add dummy PCI access for shared contracts
......................................................................


Patch Set 1:

(1 comment)

Instead of faking an access on Linux another potential approach could be to explicitly specify the global contracts and accept/justify the warning in the Linux implementation using pragma Annotate (GNATprove).

Have not tested it and will result in more code due to contracts. On the other hand one would avoid the automatic contract generation...

https://review.coreboot.org/#/c/21206/1/common/linux/hw-pci-dev.adb
File common/linux/hw-pci-dev.adb:

https://review.coreboot.org/#/c/21206/1/common/linux/hw-pci-dev.adb@44
PS1, Line 44:    package Dummy is
Wrapping the procedure in a Dummy package is not necessary. Is there a particular reason for it?



-- 
To view, visit https://review.coreboot.org/21206
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: libhwbase
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If994db22d91eb3707e555871d854c3a25a13678b
Gerrit-Change-Number: 21206
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h at gmx.de>
Gerrit-Reviewer: Adrian-Ken Rueegsegger <ken at codelabs.ch>
Gerrit-Reviewer: Nico Huber <nico.h at gmx.de>
Gerrit-Comment-Date: Mon, 28 Aug 2017 09:07:53 +0000
Gerrit-HasComments: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170828/7b53419f/attachment.html>


More information about the coreboot-gerrit mailing list