Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 4015 | ||
---|---|---|---|
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 | #define MULTIBOOT_LOADER_MAGIC 0x2BADB002 |
45 | #define MULTIBOOT_LOADER_MAGIC 0x2BADB002 |
- | 46 | ||
- | 47 | #ifndef __ASM__ |
|
- | 48 | ||
- | 49 | #ifdef CONFIG_SMP |
|
- | 50 | ||
- | 51 | extern int _hardcoded_unmapped_size; |
|
- | 52 | ||
- | 53 | #endif /* CONFIG_SMP */ |
|
- | 54 | ||
- | 55 | #endif /* __ASM__ */ |
|
46 | 56 | ||
47 | #endif |
57 | #endif |
48 | 58 | ||
49 | /** @} |
59 | /** @} |
50 | */ |
60 | */ |