mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Implement Client Interface method "test-method" defined in
"PowerPC Microprocessor CHRP binding", Chapter 10.5.2. Signed-off-by: Laurent Vivier <Laurent@vivier.eu> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@609 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -303,6 +303,18 @@ external
|
||||
outer-interpreter
|
||||
;
|
||||
|
||||
[IFDEF] CONFIG_PPC
|
||||
\ PowerPC Microprocessor CHRP binding
|
||||
\ 10.5.2. Client Interface
|
||||
|
||||
( phandle cstring-method -- missing )
|
||||
|
||||
: test-method
|
||||
dup cstrlen rot
|
||||
find-method 0= if -1 else drop 0 then
|
||||
;
|
||||
[THEN]
|
||||
|
||||
finish-device
|
||||
device-end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user