diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-09-09 09:51:31 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-09-09 09:51:31 -0400 |
commit | 372e071ed4b6a66fb371cf13b6f6d14ddd00837a (patch) | |
tree | a5c939b039cd417a82288ae327fb5df6944887d3 /README | |
parent | 141436b5b253039436d46f0cf883fabd2822367e (diff) | |
download | seabios-372e071ed4b6a66fb371cf13b6f6d14ddd00837a.tar.gz |
Rename VAR16_32 to VAR16VISIBLE.
Sometimes VAR16_32 is used to export a definition to assembler, so
clarify its naming.
Diffstat (limited to 'README')
-rw-r--r-- | README | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -118,17 +118,17 @@ macros (GET/SET_GLOBAL, GET/SET_BDA, and GET/SET_EBDA) are available to simplify these accesses. Global variables defined in the C code can be read in 16bit mode if -the variable declaration is marked with VAR16, VAR16_32, 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 VAR16_32, VAR16EXPORT, VAR16FIXED, or with no marking at all. -The 32bit code can use the GET/SET_GLOBAL macros, but they are not -required. +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. GCC 16 bit stack limitations: |