summaryrefslogtreecommitdiff
path: root/src/include/types.h
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-03-01 10:16:01 +0000
committerStefan Reinauer <stepan@openbios.org>2009-03-01 10:16:01 +0000
commit36c83404a356b5dc379dbd46e25514e487f01ec8 (patch)
treef2c9a9637dd0142ec72afd2d6f6f81a2eff877fb /src/include/types.h
parent2b34db8d1de2d63ffa829fe03db0ce2aaba40233 (diff)
downloadcoreboot-36c83404a356b5dc379dbd46e25514e487f01ec8.tar.xz
Some changes required to get yabel working on v2 (and they generally make
sense, too). Have one u64 instead of three. In order to use the old bios emulator, you have to do nothing. (Default, if CONFIG_PCI_ROM_RUN is enabled) In order to use yabel in your target, you need to add the following lines to your config: uses CONFIG_PCI_OPTION_ROM_RUN_YABEL default CONFIG_PCI_OPTION_ROM_RUN_YABEL=1 In order to use vm86 in your target, you need to add the following lines to your config: uses CONFIG_PCI_OPTION_ROM_RUN_VM86 default CONFIG_PCI_OPTION_ROM_RUN_VM86=1 Note: vm86 only works on platforms with _RAMBASE in the lower megabyte. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Joseph Smith <joe@settoplinux.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3965 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/types.h')
-rw-r--r--src/include/types.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/include/types.h b/src/include/types.h
new file mode 100644
index 0000000000..f433194473
--- /dev/null
+++ b/src/include/types.h
@@ -0,0 +1,25 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2009 coresystems GmbH
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef __TYPES_H
+#define __TYPES_H
+#include <stdint.h>
+#include <stddef.h>
+#endif
+