diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-09-14 22:03:57 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-09-18 20:48:34 -0400 |
commit | b4f4d331e0011c69d40e285ef710cca09c093159 (patch) | |
tree | d265020fa968b4a4bb40e99ddd26a7599c6c27e9 /src/farptr.h | |
parent | 2d2fa31b377444991e7993c37f6d6900c6051aca (diff) | |
download | seabios-b4f4d331e0011c69d40e285ef710cca09c093159.tar.gz |
Move definition of struct segoff_s from farptr.h to types.h.
The segoff_s definition is used by a number of header files that would
not otherwise need farptr.h, so move it to a more central location.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/farptr.h')
-rw-r--r-- | src/farptr.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/farptr.h b/src/farptr.h index 5b6c5c10..b64567e1 100644 --- a/src/farptr.h +++ b/src/farptr.h @@ -196,16 +196,6 @@ static inline void outsl_fl(u16 port, void *ptr_fl, u16 count) { #endif -// Definition for common 16bit segment/offset pointers. -struct segoff_s { - union { - struct { - u16 offset; - u16 seg; - }; - u32 segoff; - }; -}; #define SEGOFF(s,o) ({struct segoff_s __so; __so.offset=(o); __so.seg=(s); __so;}) static inline struct segoff_s FLATPTR_TO_SEGOFF(void *p) { |