From ec494ffbfc88b2085d8d4824883333b782c50b5c Mon Sep 17 00:00:00 2001 From: Jan Dolezal Date: Thu, 20 Nov 2014 15:00:26 +0100 Subject: i386/pc386: configurable size of descriptor tables --- c/src/lib/libbsp/i386/pc386/include/tblsizes.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 c/src/lib/libbsp/i386/pc386/include/tblsizes.h (limited to 'c/src/lib/libbsp/i386/pc386/include/tblsizes.h') 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 + +#define IDT_SIZE (256) +#define GDT_SIZE (3 + NUM_APP_DRV_GDT_DESCRIPTORS) + -- cgit v1.2.3