Ok...below is a small bit of code that checks and prints the return values
of _base_base() and _bus_base_sparse().  I tried it on a Cabriolet and
got:

$ ./busbase 
_bus_base() = 0xfffffc0300000000
_bus_base_sparse() = 0xfffffc0200000000

On my system (SX), here's the return:

~/test > ./busbase 
_bus_base() = 0x8800000000
_bus_base_sparse() = 0x0

Let me know what it returns on your system and also what your
/proc/cpuinfo says...

Here's the code:

#include <sys/io.h>
#include <stdio.h>

int main()
{
        long    base_val,base_sparse_val;

        base_val = _bus_base();
        base_sparse_val = _bus_base_sparse();

        printf("_bus_base() = 0x%lx\n",base_val);
        printf("_bus_base_sparse() = 0x%lx\n",base_sparse_val);
}

Reply via email to