Path: blob/master/debugtools/DDR_VM/zos_address_space_packer/readme.txt
5990 views
# Copyright (c) 2010, 2017 IBM Corp. and others1#2# This program and the accompanying materials are made available under3# the terms of the Eclipse Public License 2.0 which accompanies this4# distribution and is available at https://www.eclipse.org/legal/epl-2.0/5# or the Apache License, Version 2.0 which accompanies this distribution and6# is available at https://www.apache.org/licenses/LICENSE-2.0.7#8# This Source Code may also be made available under the following9# Secondary Licenses when the conditions for such availability set10# forth in the Eclipse Public License, v. 2.0 are satisfied: GNU11# General Public License, version 2 with the GNU Classpath12# Exception [1] and GNU General Public License, version 2 with the13# OpenJDK Assembly Exception [2].14#15# [1] https://www.gnu.org/software/classpath/license.html16# [2] http://openjdk.java.net/legal/assembly-exception.html17#18# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception1920zOS Address Space Packer2122This tool allows you to spawn multiple enclaves inside a single address space.2324An enclave is a command, some native libraries and a LE environment (your own25malloc chains etc.) - it's similar to a UNIX process but it can share an26address space.2728Instructions:2930Build:3132c89 multi_as.c3334Put your commands into a text file, one per line. The tool is fairly dumb and35assumes that space splits commands (it doesn't understand quotes).3637See checked in commands.txt as an example.3839Run it:4041./a.out commands.txt4243The commands you've specified will start and share the console. The application44will stay open until all the child processes terminate (or are terminated).454647