summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powermac
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2004-02-04 04:44:16 +0000
committerwpaul <wpaul@FreeBSD.org>2004-02-04 04:44:16 +0000
commit190b4ac58a4f75f205a3570d14a988bde8abbea3 (patch)
tree463e27bb31432f54f280d04863453cbf23d0089a /sys/powerpc/powermac
parentb8d51aa138d0828da395e4cd549238f660870733 (diff)
downloadFreeBSD-src-190b4ac58a4f75f205a3570d14a988bde8abbea3.zip
FreeBSD-src-190b4ac58a4f75f205a3570d14a988bde8abbea3.tar.gz
Correct/improve the implementation of NdisMAllocateSharedMemoryAsync().
Since we have a worker thread now, we can actually do the allocation asynchronously in that thread's context. Also, we need to return a status value: if we're unable to queue up the async allocation, we return NDIS_STATUS_FAILURE, otherwise we return NDIS_STATUS_PENDING to indicate the allocation has been queued and will occur later. This replaces the kludge where we just invoked the callback routine right away in the current context.
Diffstat (limited to 'sys/powerpc/powermac')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud