~ubuntu-branches/ubuntu/saucy/seabios/saucy-proposed

« back to all changes in this revision

Viewing changes to src/biosvar.h

  • Committer: Package Import Robot
  • Author(s): Michael Tokarev
  • Date: 2013-07-08 21:34:44 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20130708213444-6ed9q23j39x143lu
Tags: 1.7.3-1
Multi-Arch: allowed

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
} PACKED;
121
121
 
122
122
// BDA floppy_recalibration_status bitdefs
123
 
#define FRS_TIMEOUT (1<<7)
 
123
#define FRS_IRQ (1<<7)
124
124
 
125
125
// BDA rtc_wait_flag bitdefs
126
126
#define RWS_WAIT_PENDING (1<<0)
251
251
 * "Low" memory variables
252
252
 ****************************************************************/
253
253
 
254
 
extern u8 _datalow_seg, datalow_base[];
255
 
#define SEG_LOW ((u32)&_datalow_seg)
 
254
extern u8 _zonelow_seg, zonelow_base[];
 
255
#define SEG_LOW ((u32)&_zonelow_seg)
256
256
 
257
257
#if MODESEGMENT
258
258
#define GET_LOW(var)            GET_FARVAR(SEG_LOW, (var))
259
259
#define SET_LOW(var, val)       SET_FARVAR(SEG_LOW, (var), (val))
260
 
#define LOWFLAT2LOW(var) ((typeof(var))((void*)(var) - (u32)datalow_base))
 
260
#define LOWFLAT2LOW(var) ((typeof(var))((void*)(var) - (u32)zonelow_base))
261
261
#else
262
262
#define GET_LOW(var)            (var)
263
263
#define SET_LOW(var, val)       do { (var) = (val); } while (0)