?? ram.java
字號:
/************************************************************************
This file is part of java core libraries for the simpleRTJ virtual machine.
This file is covered by the GNU GPL with the following exception:
As a special exception, the copyright holders of this library give you permission
to link this library with independent modules to produce an executable, regardless
of the license terms of these independent modules, and to copy and distribute the
resulting executable under terms of your choice, provided that you also meet, for
each linked independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from or based on
this library. If you modify this library, you may extend this exception to your
version of the library, but you are not obligated to do so. If you do not wish
to do so, delete this exception statement from your version.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL RTJ COMPUTING BE LIABLE FOR ANY CLAIM, DAMAGES
OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
Copyright (c) 2000-2002 RTJ Computing Pty. Ltd. All rights reserved.
***********************************************************************/
package javax.memory;
/**
* This is a wrapper class for the MemoryRegion that represents an area in the
* target device's RAM.
* <p>
*
* In order to use this class in your application follow the following steps:<br>
* 1. Locate the MemoryRegion.c in the source/javax/memory/native directory<br>
* 2. Copy this file into your project's native code directory and
* make it part of the native code building process.
*/
public class RAM extends MemoryRegion
{
/**
* Creates a new RAM memory region object.
*
* @param start starting address of a new memory region.
* @param length length of a new memory region.
* @exception InvalidMemoryRegionException is thrown when the requested region
* is invalid, i.e. overlaps with some other memory regions or there is no
* physical memory at specified location.
*/
public RAM(int start, int length) throws InvalidMemoryRegionException
{
super(start, length);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -