Added methods for efficiently declaring and accessing variables in

.data16.  librm will need to supply "char *data16", i.e. the virtual
address of the start of .data16.
This commit is contained in:
Michael Brown
2006-05-04 17:00:20 +00:00
parent f8f75cef5b
commit f4429533a6
3 changed files with 59 additions and 0 deletions

View File

@@ -10,6 +10,10 @@
*
*/
/* Access to variables in .data16, in a way compatible with librm */
#define __data16( variable ) variable
#define __use_data16( variable ) variable
/* Copy to/from base memory */
static inline void copy_to_real_libkir ( uint16_t dest_seg, uint16_t dest_off,