summaryrefslogtreecommitdiffstats
path: root/bsps/i386/pc386/include/bsp/tblsizes.h
blob: 13429dc85f35110feae353c2da1d82409812ba19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
 * @file
 *
 * @ingroup RTEMSBSPsI386
 *
 * @brief Sizes of Global and Interrupt descriptor tables.
 */

/*
 * 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 NUM_SYSTEM_GDT_DESCRIPTORS 4
#define GDT_SIZE (NUM_SYSTEM_GDT_DESCRIPTORS + NUM_APP_DRV_GDT_DESCRIPTORS)