summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2014-01-24 21:56:42 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2014-01-24 21:56:42 -0800
commit6b7d46a874bb4c1d5c64ed931a868d40cdfaedfa (patch)
treefcc9ae1973e6667c45b1973816d3400aa8bb6b8c
parent70b7fc520cc111bba52e7a097a89c71d460e77a1 (diff)
downloadtest16-6b7d46a874bb4c1d5c64ed931a868d40cdfaedfa.tar.gz
test16-6b7d46a874bb4c1d5c64ed931a868d40cdfaedfa.tar.xz
test16-6b7d46a874bb4c1d5c64ed931a868d40cdfaedfa.zip
run16: fix comments for the "contents" type
Correct the meaning of the "contents" fields. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--run16.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/run16.c b/run16.c
index 1a588ca..7a47ba7 100644
--- a/run16.c
+++ b/run16.c
@@ -31,7 +31,7 @@ static void setup_ldt(void)
.base_addr = (unsigned long)toybox,
.limit = 0xffff,
.seg_32bit = 0,
- .contents = 2, /* Code, R/X */
+ .contents = 2, /* Code, not conforming */
.read_exec_only = 0,
.limit_in_pages = 0,
.seg_not_present = 0,
@@ -42,7 +42,7 @@ static void setup_ldt(void)
.base_addr = (unsigned long)toybox,
.limit = 0xffff,
.seg_32bit = 0,
- .contents = 0, /* Data, R/W */
+ .contents = 0, /* Data, grow-up */
.read_exec_only = 0,
.limit_in_pages = 0,
.seg_not_present = 0,