aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-01-20 10:46:51 -0500
committerKevin O'Connor <kevin@koconnor.net>2013-01-20 10:46:51 -0500
commit88ab34e2cfbed34a848be8ec45248cf291c37049 (patch)
tree257a68a9c7f40c8abf1c94eefbb3860859bee0ad /README
parent6156afe098251f590f075b5cc7d106cc8460d01c (diff)
downloadseabios-88ab34e2cfbed34a848be8ec45248cf291c37049.tar.gz
Minor: Update README - variable changes are now reset on soft-reboots.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'README')
-rw-r--r--README15
1 files changed, 7 insertions, 8 deletions
diff --git a/README b/README
index 1f40433..c6462b7 100644
--- a/README
+++ b/README
@@ -103,14 +103,13 @@ Global variables defined in the C code can be read in 16bit mode if
the variable declaration is marked with VAR16, VAR16VISIBLE,
VAR16EXPORT, or VAR16FIXED. The GET_GLOBAL macro will then allow read
access to the variable. Global variables are stored in the 0xf000
-segment, and their values are persistent across soft resets. Because
-the f-segment is marked read-only during run-time, the 16bit code is
-not permitted to change the value of 16bit variables (use of the
-SET_GLOBAL macro from 16bit mode will cause a link error). Code
-running in 32bit mode can not access variables with VAR16, but can
-access variables marked with VAR16VISIBLE, VAR16EXPORT, VAR16FIXED, or
-with no marking at all. The 32bit code can use the GET/SET_GLOBAL
-macros, but they are not required.
+segment. Because the f-segment is marked read-only during run-time,
+the 16bit code is not permitted to change the value of 16bit variables
+(use of the SET_GLOBAL macro from 16bit mode will cause a link error).
+Code running in 32bit mode can not access variables with VAR16, but
+can access variables marked with VAR16VISIBLE, VAR16EXPORT,
+VAR16FIXED, or with no marking at all. The 32bit code can use the
+GET/SET_GLOBAL macros, but they are not required.
GCC 16 bit stack limitations: