Browse Prior Art Database

Method of injecting errors using a parsed language

IP.com Disclosure Number: IPCOM000011031D
Original Publication Date: 2003-Feb-10
Included in the Prior Art Database: 2003-Feb-10
Document File: 2 page(s) / 54K

Publishing Venue

IBM

Abstract

A language syntax used between OS and firmware to facilitate hardware specific operations

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 69% of the total text.

Page 1 of 2

Method of injecting errors using a parsed language

A buffer is sent to the Run-Time Abstraction Services (RTAS) and the first cell is examined to determine how many Parameter blocks exist. A Parameter block is cell 2 through cell 7. Cell 2 is then examined to determine how to handle the address (cell 4,5) and data (cell 6,7). Next RTAS reads the Operation type from cell 3. If cell 3 is set to "Equal" RTAS will write the data from cell 6 and 7 directly to the address located in cell 4 and 5. If a "AND", "OR" or "XOR" is set in cell 3 a read of the address located in cell 4 and 5 is performed and the operation is performed to the data read and the data located in cell 6 and 7. Once complete the manipulated data is then written to the address located in cell 4 and 5.

DETAILS

All calls from the OS to RTAS pass a call buffer. For the parsing language described, this call buffer has the following format.

Working Buffer Offset

Name Description

Cell 1 # of

Parameter Blocks

A Parameter block contains cells 2 - 6

Cell 2 Address

0 = SCOMType1 = Memory Mapped I/O 32bit

                 2 = Memory Mapped I/O 64bit 3 = Registern Name (HID1, HID4, ...) Cell 3 Operator 0 = Equals

1 = AND 2 = OR 3 = XOR

Upper 32bits of a address Name of Register Name in ASCII (HID1 = 48494431)

Cell 4 Address

Hi

Cell 5 Address

        Lower 32bits of a addressLowRest of Register Name in ASCII Cell 6 Data Hi Upper 32bits of Data to write Cell 7 Data Low Lower 32bits of Data to write

The language allows for up to 2^^32-1 er...