initial globalmem device driver with semaphore control