diff options
author | Jan Dolezal <dolezj21@fel.cvut.cz> | 2014-11-20 15:00:26 +0100 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2014-11-20 09:52:38 -0500 |
commit | ec494ffbfc88b2085d8d4824883333b782c50b5c (patch) | |
tree | 534dd0f5348e7d2301947f9f2ad3bae3cc340ab5 /c/src/lib/libbsp/i386/pc386/include/tblsizes.h | |
parent | dl01,dl02: Avoid non-runnable $(EXEEXT) files (diff) | |
download | rtems-ec494ffbfc88b2085d8d4824883333b782c50b5c.tar.bz2 |
i386/pc386: configurable size of descriptor tables
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/include/tblsizes.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/include/tblsizes.h b/c/src/lib/libbsp/i386/pc386/include/tblsizes.h new file mode 100644 index 0000000000..ef51ae743a --- /dev/null +++ b/c/src/lib/libbsp/i386/pc386/include/tblsizes.h @@ -0,0 +1,25 @@ +/** + * @file + * + * @ingroup i386_pc386 + * + * @brief Sizes of Global and Interrupt descriptor tables. + */ + +/* + * Definitions related to the PC386 BSP. + * This header file is also used in assembler modules. + * + * Copyright (C) 2014 Jan Doležal (dolezj21@fel.cvut.cz) + * CTU in Prague. + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + +#include <bspopts.h> + +#define IDT_SIZE (256) +#define GDT_SIZE (3 + NUM_APP_DRV_GDT_DESCRIPTORS) + |