Commit | Line | Data |
---|---|---|
920dae64 AT |
1 | # |
2 | # Copyright 2006 Sun Microsystems, Inc. All rights reserved. | |
3 | # Use is subject to license terms. | |
4 | # | |
5 | # ident "@(#)README.hsimd 1.2 06/06/27 SMI" | |
6 | # | |
7 | # Instructions on how to build the hsimd disk driver | |
8 | # | |
9 | ||
10 | Using a cleanly installed and built Solaris gate with sun4v support, | |
11 | follow these steps: | |
12 | ||
13 | NOTE: You should use the same release of Solaris as the version on | |
14 | the disk image that you will be using the hsimd driver for under | |
15 | simulation. | |
16 | ||
17 | 1) Edit usr/src/uts/sun4v/Makefile.files | |
18 | Add this line: | |
19 | HSIMD_OBJS = hsimd.o hsimd_asm.o | |
20 | ||
21 | 2) Edit usr/src/uts/sun4v/Makefile.sun4v.shared (or | |
22 | usr/src/uts/sun4v/Makefile.sun4v pre-Solaris 11) | |
23 | Add this line: | |
24 | DRV_KMODS += hsimd | |
25 | ||
26 | 3) cp Makefile to new directory usr/src/uts/sun4v/hsimd | |
27 | ||
28 | 4) cp hsimd.c to usr/src/uts/sun4v/io | |
29 | ||
30 | 5) cp hsimd_asm.s to usr/src/uts/sun4v/ml | |
31 | ||
32 | 6) cd usr/src/uts/sun4v/hsimd | |
33 | And type make |