summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2016-02-21 12:13:04 +0100
committerMichael Brown2016-02-21 12:13:04 +0100
commitb6ebafe1bba5fa841c71a03f1a264e6a17ed8584 (patch)
tree0a5ec534011e7249debdfc929b33f2ffd81b072a /src/include
parent[librm] Do not preserve flags unnecessarily (diff)
downloadipxe-b6ebafe1bba5fa841c71a03f1a264e6a17ed8584.tar.gz
ipxe-b6ebafe1bba5fa841c71a03f1a264e6a17ed8584.tar.xz
ipxe-b6ebafe1bba5fa841c71a03f1a264e6a17ed8584.zip
[librm] Mark virt_offset, text16, data16, rm_cs, and rm_ds as constant
The physical locations of .textdata, .text16 and .data16 are constant from the point of view of C code. Mark the relevant variables as constant to allow gcc to optimise out redundant reads. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions