~ubuntu-branches/ubuntu/raring/libcaca/raring

« back to all changes in this revision

Viewing changes to kernel/multiboot.h

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hocevar
  • Date: 2010-02-08 01:40:59 UTC
  • mfrom: (1.1.8 upstream) (4.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100208014059-9q4av8pze8p7uw3i
Tags: 0.99.beta17-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* multiboot.h - the header for Multiboot */
2
2
/* Copyright (C) 1999  Free Software Foundation, Inc.
3
 
   
 
3
 
4
4
   This program is free software; you can redistribute it and/or modify
5
5
   it under the terms of the GNU General Public License as published by
6
6
   the Free Software Foundation; either version 2 of the License, or
7
7
   (at your option) any later version.
8
 
   
 
8
 
9
9
   This program is distributed in the hope that it will be useful,
10
10
   but WITHOUT ANY WARRANTY; without even the implied warranty of
11
11
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
12
   GNU General Public License for more details.
13
 
   
 
13
 
14
14
   You should have received a copy of the GNU General Public License
15
15
   along with this program; if not, write to the Free Software
16
16
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
18
18
/* Macros.  */
19
19
 
20
20
/* The magic number for the Multiboot header.  */
21
 
#define MULTIBOOT_HEADER_MAGIC          0x1BADB002
 
21
#define MULTIBOOT_HEADER_MAGIC 0x1BADB002
22
22
 
23
23
/* The flags for the Multiboot header.  */
24
 
#define MULTIBOOT_HEADER_FLAGS          0x00010003
 
24
#define MULTIBOOT_HEADER_FLAGS 0x00010003
25
25
 
26
26
/* The magic number passed by a Multiboot-compliant boot loader.  */
27
 
#define MULTIBOOT_BOOTLOADER_MAGIC      0x2BADB002
 
27
#define MULTIBOOT_BOOTLOADER_MAGIC 0x2BADB002
28
28
 
29
29
/* The size of our stack (16KB).  */
30
 
#define STACK_SIZE                      0x4000
 
30
#define STACK_SIZE 0x4000
31
31
 
32
32
/* C symbol format. HAVE_ASM_USCORE is defined by configure.  */
33
33
#ifdef HAVE_ASM_USCORE
34
 
# define EXT_C(sym)                     _ ## sym
 
34
# define EXT_C(sym) _ ## sym
35
35
#else
36
 
# define EXT_C(sym)                     sym
 
36
# define EXT_C(sym) sym
37
37
#endif
38
38
 
39
39
#ifndef ASM