mirror of
https://github.com/ipxe/ipxe
synced 2025-12-27 01:52:39 +03:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user