coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
rom_segs.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef ROM_SEGS_H
4 #define ROM_SEGS_H
5 
6 #define ROM_CODE_SEG 0x08
7 #define ROM_DATA_SEG 0x10
8 #define ROM_CODE_SEG64 0x18
9 
10 /*
11  * This define is placed here to make sure future romstage programmers
12  * know about it.
13  * It is used for STM setup code.
14  */
15 #define SMM_TASK_STATE_SEG 0x20
16 
17 #endif /* ROM_SEGS_H */