From 840ed4b06724670db9c175e7c5c65c52cce25477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 21 Apr 2004 01:32:44 +0000 Subject: [PATCH] Added a dummy member of the platform_kernel_args structure: obviously, the kernel didn't count an empty structure, while the boot loader reserved 4 bytes for it - dunno why, a _PACKED everywhere didn't help; it's probably a compile option issue. To be on the safe side always, I've now added this dummy. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7278 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../kernel/boot/platform/bios_ia32/platform_kernel_args.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/headers/private/kernel/boot/platform/bios_ia32/platform_kernel_args.h b/headers/private/kernel/boot/platform/bios_ia32/platform_kernel_args.h index 27bf331325..7a67509575 100644 --- a/headers/private/kernel/boot/platform/bios_ia32/platform_kernel_args.h +++ b/headers/private/kernel/boot/platform/bios_ia32/platform_kernel_args.h @@ -1,5 +1,5 @@ /* -** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved. +** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. ** Distributed under the terms of the OpenBeOS License. */ #ifndef KERNEL_BOOT_PLATFORM_BIOS_IA32_KERNEL_ARGS_H @@ -17,6 +17,8 @@ typedef struct { + int32 _dummy; + // structure sizes differ if this would be empty (kernel vs. boot loader) } platform_kernel_args; #endif /* KERNEL_BOOT_PLATFORM_BIOS_IA32_KERNEL_ARGS_H */