view cp/include/config.h @ 491:0bb9a9b527cd

cp: stubs for config file parsing At the moment, there isn't much to it. It accesses the IPL DASD and then reads each record from SYSTEM CONFIG on that volume. Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Thu, 21 Apr 2011 15:52:52 -0400
parents bd6f5cdfac97
children de574d051887
line wrap: on
line source

/*
 * (C) Copyright 2007-2010  Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
 *
 * This file is released under the GPLv2.  See the COPYING file for more
 * details.
 */

#ifndef __CONFIG_H
#define __CONFIG_H

/*
 * Base address within a guest's address space; used as the base address for
 * the IPL helper code.
 *
 * NOTE: It must be >= 16M, but <2G
 */
#define GUEST_IPL_BASE		(16ULL * 1024ULL * 1024ULL)

#define OPER_CONSOLE_CCUU	0x0009

#define CONFIG_LRECL			80
#define CONFIG_FILE_NAME		"SYSTEM  "
#define CONFIG_FILE_TYPE		"CONFIG  "

extern int load_config();

#endif