~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/m68k/ifpsp060/TEST.DOC

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/m68k/ifpsp060/TEST.DOC (Version linux-6.12-rc7) and /arch/i386/ifpsp060/TEST.DOC (Version linux-5.3.18)


  1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
  2 MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GR    
  3 M68000 Hi-Performance Microprocessor Division     
  4 M68060 Software Package                           
  5 Production Release P1.00 -- October 10, 1994      
  6                                                   
  7 M68060 Software Package Copyright © 1993, 199    
  8                                                   
  9 THE SOFTWARE is provided on an "AS IS" basis a    
 10 To the maximum extent permitted by applicable     
 11 MOTOROLA DISCLAIMS ALL WARRANTIES WHETHER EXPR    
 12 INCLUDING IMPLIED WARRANTIES OF MERCHANTABILIT    
 13 and any warranty against infringement with reg    
 14 (INCLUDING ANY MODIFIED VERSIONS THEREOF) and     
 15                                                   
 16 To the maximum extent permitted by applicable     
 17 IN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY D    
 18 (INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOS    
 19 BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORM    
 20 ARISING OF THE USE OR INABILITY TO USE THE SOF    
 21 Motorola assumes no responsibility for the mai    
 22                                                   
 23 You are hereby granted a copyright license to     
 24 so long as this entire notice is retained with    
 25 redistributed versions, and that such modified    
 26 No licenses are granted by implication, estopp    
 27 or trademarks of Motorola, Inc.                   
 28 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
 29 68060 SOFTWARE PACKAGE (Kernel version) SIMPLE    
 30 ----------------------------------------------    
 31                                                   
 32 The files itest.sa and ftest.sa contain simple    
 33 the state of the 68060ISP and 68060FPSP once t    
 34                                                   
 35 Release file format:                              
 36 --------------------                              
 37 The release files itest.sa and ftest.sa are es    
 38 hexadecimal images of the actual tests. This f    
 39 ONLY format that will be supported. The hex im    
 40 by assembling the source code and then convert    
 41 binary output images into ASCII text files. Th    
 42 numbers are listed using the Motorola Assembly    
 43 directive "dc.l" (define constant longword). T    
 44 converted to other assembly syntaxes by using     
 45 with a global search and replace function.        
 46                                                   
 47 To assist in assembling and linking these modu    
 48 the installer should add symbolic labels to th    
 49 This will allow the calling routines to access    
 50 of these packages.                                
 51                                                   
 52 The source code itest.s and ftest.s have been     
 53 for documentation purposes.                       
 54                                                   
 55 Release file structure:                           
 56 -----------------------                           
 57                                                   
 58 (top of module)                                   
 59         -----------------                         
 60         |               | - 128 byte-sized sec    
 61    (1)  |   Call-Out    | - 4 bytes per entry     
 62         |               |                         
 63         -----------------                         
 64         |               | - 8 bytes per entry     
 65    (2)  | Entry Point   | - user does "bsr" or    
 66         |               |                         
 67         -----------------                         
 68         |               | - code section          
 69    (3)  ~               ~                         
 70         |               |                         
 71         -----------------                         
 72 (bottom of module)                                
 73                                                   
 74 The first section of this module is the "Call-    
 75 is NOT INCLUDED in {i,f}test.sa (an example "C    
 76 the end of this file). The purpose of this sec    
 77 routines to reference external printing functi    
 78 by the host operating system. This section MUS    
 79 size. There are 32 fields, each 4 bytes in siz    
 80 to a function required by the test packages (t    
 81 location are listed in "68060{ISP,FPSP}-TEST c    
 82 entry should contain the address of the corres    
 83 the starting address of the "call-out" section    
 84 sit adjacent to the {i,f}test.sa image in memo    
 85 are individual tests, they each require their     
 86                                                   
 87 The second section, the "Entry-point" section,    
 88 to access the test routines. Since the {i,f}te    
 89 no symbol names, this section contains functio    
 90 with respect to the top of the package. The cu    
 91 are listed in section "68060{ISP,FPSP}-TEST en    
 92 routine would simply execute a "bsr" or "jsr"     
 93 function entry-point.                             
 94                                                   
 95 For example, to run the 060ISP test, write a p    
 96 itest.sa data and execute something similar to    
 97                                                   
 98         bsr     _060ISP_TEST+128+0                
 99                                                   
100 (_060ISP_TEST is the starting address of the "    
101 section is 128 bytes long; and the 68060ISP te    
102 0 bytes from the top of the "Entry-point" sect    
103                                                   
104 The third section is the code section. After e    
105 the entry code jumps to the appropriate test c    
106                                                   
107 68060ISP-TEST Call-outs:                          
108 ------------------------                          
109 0x0: _print_string()                              
110 0x4: _print_number()                              
111                                                   
112 68060FPSP-TEST Call-outs:                         
113 -------------------------                         
114 0x0: _print_string()                              
115 0x4: _print_number()                              
116                                                   
117 The test packages call _print_string() and _pr    
118 as subroutines and expect the main program to     
119 or a number to a file or to the screen.           
120 In "C"-like fashion, the test program calls:      
121                                                   
122         print_string("Test passed");              
123                                                   
124                 or                                
125                                                   
126         print_number(20);                         
127                                                   
128 For _print_string(), the test programs pass a     
129 of the string on the stack. For _print_number(    
130 a longword number to be printed.                  
131                                                   
132 For debugging purposes, after the main program    
133 for a test package, it should flush the output    
134 buffered. In this way, if the test program cra    
135 statements printed will be seen.                  
136                                                   
137 68060ISP-TEST Entry-points:                       
138 ---------------------------                       
139 0x0: integer test                                 
140                                                   
141 68060FPSP-TEST Entry-points:                      
142 ----------------------------                      
143 0x00: main fp test                                
144 0x08: FP unimplemented test                       
145 0x10: FP enabled snan/operr/ovfl/unfl/dz/inex     
146                                                   
147 The floating-point unit test has 3 entry point    
148 3 different calls to the package if each of th    
149 is desired:                                       
150                                                   
151 main fp test: tests (1) unimp effective addres    
152                     (2) unsupported data type     
153                     (3) non-maskable overflow/    
154                                                   
155 FP unimplemented: tests FP unimplemented excep    
156                   separate from the previous t    
157                   want FP unimplemented instru    
158                                                   
159 FP enabled: tests enabled snan/operr/ovfl/unfl    
160             basically, it enables each of thes    
161             each using an implemented FP instr    
162             exercises _fpsp_{snan,operr,ovfl,u    
163             _real_{snan,operr,ovfl,unfl,dz,ine    
164             _real_XXXX() to do nothing except     
165             and "rte". if a system's _real_XXX    
166             alternate result, the test will pr    
167             is acceptable.                        
168                                                   
169 Miscellaneous:                                    
170 --------------                                    
171 Again, itest.sa and ftest.sa are simple tests     
172 test all 68060SP connections. For example, the    
173 to _real_access(), _real_trace(), _real_trap()    
174 will be system-implemented several different w    
175 must remain system independent.                   
176                                                   
177 Example test package set-up:                      
178 ----------------------------                      
179 _print_str:                                       
180         .                       # provided by     
181         rts                                       
182                                                   
183 _print_num:                                       
184         .                       # provided by     
185         rts                                       
186                                                   
187         .                                         
188         .                                         
189         bsr     _060FPSP_TEST+128+0               
190         .                                         
191         .                                         
192         rts                                       
193                                                   
194 # beginning of "Call-out" section; provided by    
195 # MUST be 128 bytes long.                         
196 _060FPSP_TEST:                                    
197         long    _print_str - _060FPSP_TEST        
198         long    _print_num - _060FPSP_TEST        
199         space   120                               
200                                                   
201 # ftest.sa starts here; start of "Entry-point"    
202         long    0x60ff0000, 0x00002346            
203         long    0x60ff0000, 0x00018766            
204         long    0x60ff0000, 0x00023338            
205         long    0x24377299, 0xab2643ea            
206                 .                                 
207                 .                                 
208                 .                                 
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php