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/bsp.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 'c/src/lib/libbsp/i386/pc386/include/bsp.h')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/include/bsp.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/include/bsp.h b/c/src/lib/libbsp/i386/pc386/include/bsp.h index 21aa05484d..26d4fa47a1 100644 --- a/c/src/lib/libbsp/i386/pc386/include/bsp.h +++ b/c/src/lib/libbsp/i386/pc386/include/bsp.h @@ -51,6 +51,7 @@ #include <bspopts.h> #include <bsp/default-initial-extension.h> +#include <bsp/tblsizes.h> #include <rtems.h> #include <rtems/iosupp.h> @@ -166,11 +167,8 @@ extern int rtems_3c509_driver_attach(struct rtems_bsdnet_ifconfig *config); /*-------------------------------------------------------------------------+ | External Variables. +--------------------------------------------------------------------------*/ -#define IDT_SIZE 256 -#define GDT_SIZE 3 - extern interrupt_gate_descriptor Interrupt_descriptor_table[IDT_SIZE]; -extern segment_descriptors Global_descriptor_table [GDT_SIZE]; +extern segment_descriptors _Global_descriptor_table [GDT_SIZE]; /*-------------------------------------------------------------------------+ | Function Prototypes. |