diff options
| author | Michael Brown | 2016-02-21 12:13:04 +0100 |
|---|---|---|
| committer | Michael Brown | 2016-02-21 12:13:04 +0100 |
| commit | b6ebafe1bba5fa841c71a03f1a264e6a17ed8584 (patch) | |
| tree | 0a5ec534011e7249debdfc929b33f2ffd81b072a /src/core | |
| parent | [librm] Do not preserve flags unnecessarily (diff) | |
| download | ipxe-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/core')
0 files changed, 0 insertions, 0 deletions
