diff options
author | peter <peter@FreeBSD.org> | 2002-09-26 05:07:41 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-09-26 05:07:41 +0000 |
commit | 1a6bc64814667c5c93276ecc26054ca714634811 (patch) | |
tree | 1ddb2b720824d2941b475e2c6655c83d3b0d069f /sys/amd64/include/segments.h | |
parent | 31b1ddae746006fc46febc4b1e86b3771da6163c (diff) | |
download | FreeBSD-src-1a6bc64814667c5c93276ecc26054ca714634811.zip FreeBSD-src-1a6bc64814667c5c93276ecc26054ca714634811.tar.gz |
ISMEMSDP(), IS286GDP(), IS386GDP(), ISGDP(), ISSDP() and ISSYSSDP() are
not used anywhere anymore.
Diffstat (limited to 'sys/amd64/include/segments.h')
-rw-r--r-- | sys/amd64/include/segments.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sys/amd64/include/segments.h b/sys/amd64/include/segments.h index 6d09e1e..bcbf2fb 100644 --- a/sys/amd64/include/segments.h +++ b/sys/amd64/include/segments.h @@ -133,26 +133,6 @@ union descriptor { #define SDT_MEMERC 30 /* memory execute read conforming */ #define SDT_MEMERAC 31 /* memory execute read accessed conforming */ -/* is memory segment descriptor pointer ? */ -#define ISMEMSDP(s) ((s->d_type) >= SDT_MEMRO && (s->d_type) <= SDT_MEMERAC) - -/* is 286 gate descriptor pointer ? */ -#define IS286GDP(s) (((s->d_type) >= SDT_SYS286CGT \ - && (s->d_type) < SDT_SYS286TGT)) - -/* is 386 gate descriptor pointer ? */ -#define IS386GDP(s) (((s->d_type) >= SDT_SYS386CGT \ - && (s->d_type) < SDT_SYS386TGT)) - -/* is gate descriptor pointer ? */ -#define ISGDP(s) (IS286GDP(s) || IS386GDP(s)) - -/* is segment descriptor pointer ? */ -#define ISSDP(s) (ISMEMSDP(s) || !ISGDP(s)) - -/* is system segment descriptor pointer ? */ -#define ISSYSSDP(s) (!ISMEMSDP(s) && !ISGDP(s)) - /* * Software definitions are in this convenient format, * which are translated into inconvenient segment descriptors |