Joerg Schilling wrote:
Bart Smaalders <[email protected]> wrote:
Mmm this still was not the right solution as the kernel linker now linked the
variable "scsi_options" which is physically in genunix at 0xfffffffffbc8a1f0
to address 0xfffffffff3b2733b inside my driver. As mentioned, the real location of
scsi_options is 0xfffffffffbc8a1f0
I I checked correctly, this seems to be nowhere in the kernel mappings:
BASE LIMIT SIZE NAME
fffffe0000000000 fffffe0118000000 118000000 kpmseg
ffffff0000000000 ffffff0007a00000 7a00000 kvalloc
ffffff0007a00000 ffffff0087a00000 80000000 kpseg
ffffff0087a00000 ffffff0187200000 ff800000 kzioseg
ffffff01c7200000 ffffff01cb200000 4000000 kmapseg
ffffff01cb200000 ffffffffc0000000 fdf4e00000 kvseg
ffffffffc0000000 fffffffffb7fb000 3b7fb000 kvseg_core
fffffffffb800000 fffffffffbd31000 531000 ktextseg
ffffffffff800000 ffffffffffc00000 400000 kdebugseg
Thank you for yout hint.....
Are you compiling w/ -xmodel=kernel ?
I compile with -Wu,-xmodel=kernel
is there a difference to using -xmodel=kernel directly?
Jörg
Well, they seem to produce the same disassembler output but
different section headers.
Try it and see.
- Bart
--
Bart Smaalders Solaris Kernel Performance
[email protected] http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
opensolaris-discuss mailing list
[email protected]