sptest.adb
来自「RTEMS (Real-Time Executive for Multiproc」· ADB 代码 · 共 52 行
ADB
52 行
---- SPTEST / BODY---- DESCRIPTION:---- This package is the implementation of Test 1 of the RTEMS-- Single Processor Test Suite.---- DEPENDENCIES: ---- ---- COPYRIGHT (c) 1989-1997.-- On-Line Applications Research Corporation (OAR).---- The license and distribution terms for this file may in-- the file LICENSE in this distribution or at-- http://www.rtems.com/license/LICENSE.---- $Id: sptest.adb,v 1.2.4.2 2003/09/04 18:43:36 joel Exp $--with INTERFACES; use INTERFACES;with RTEMS;with TEST_SUPPORT;with TEXT_IO;package body SPTEST is--PAGE-- -- INIT-- procedure INIT ( ARGUMENT : in RTEMS.TASK_ARGUMENT ) is TIME : RTEMS.TIME_OF_DAY; STATUS : RTEMS.STATUS_CODES; begin TEXT_IO.NEW_LINE( 2 ); TEXT_IO.PUT_LINE( "*** HELLO WORLD TEST ***" ); TEXT_IO.PUT_LINE( "Hello World" ); TEXT_IO.PUT_LINE( "*** END OF HELLO WORLD TEST ***" ); RTEMS.SHUTDOWN_EXECUTIVE( 0 ); end INIT;end SPTEST;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?