2 * include/asm-s390x/extmem.h
4 * definitions for external memory segment support
5 * Copyright (C) 2003 IBM Deutschland Entwicklung GmbH, IBM Corporation
8 #ifndef _ASM_S390X_DCSS_H
9 #define _ASM_S390X_DCSS_H
11 #define SEGMENT_SHARED_RW 0
12 #define SEGMENT_SHARED_RO 1
13 #define SEGMENT_EXCLUSIVE_RW 2
14 #define SEGMENT_EXCLUSIVE_RO 3
15 extern int segment_load (char *name,int segtype,unsigned long *addr,unsigned long *length);
16 extern void segment_unload(char *name);
17 extern void segment_replace(char *name);