Subversion Repositories HelenOS

Rev

Rev 2927 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2927 Rev 4345
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
/** @addtogroup ia32   
29
/** @addtogroup ia32
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#ifndef KERN_ia32_BOOT_H_
35
#ifndef KERN_ia32_BOOT_H_
36
#define KERN_ia32_BOOT_H_
36
#define KERN_ia32_BOOT_H_
37
 
37
 
38
#define BOOT_OFFSET     0x108000
38
#define BOOT_OFFSET      0x108000
39
#define AP_BOOT_OFFSET      0x8000
39
#define AP_BOOT_OFFSET   0x8000
40
#define BOOT_STACK_SIZE 0x400
40
#define BOOT_STACK_SIZE  0x400
41
 
41
 
42
#define MULTIBOOT_HEADER_MAGIC  0x1BADB002
42
#define MULTIBOOT_HEADER_MAGIC  0x1BADB002
43
#define MULTIBOOT_HEADER_FLAGS  0x00010003
43
#define MULTIBOOT_HEADER_FLAGS  0x00010003
44
 
44
 
-
 
45
#ifndef __ASM__
-
 
46
 
-
 
47
#ifdef CONFIG_SMP
-
 
48
 
-
 
49
/* This is only a symbol so the type is dummy. Obtain the value using &. */
45
#define MULTIBOOT_LOADER_MAGIC  0x2BADB002
50
extern int _hardcoded_unmapped_size;
-
 
51
 
-
 
52
#endif /* CONFIG_SMP */
-
 
53
 
-
 
54
#endif /* __ASM__ */
46
 
55
 
47
#endif
56
#endif
48
 
57
 
49
/** @}
58
/** @}
50
 */
59
 */