-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have grabbed 128 Megs using,
in main.c right after memory_start = kmem_cache_init(...)
CEB_SHM_Start = memory_start;
memory_start += CEM_SHM_Size;
This seems to alloc the memory for me but I can't seem to get a
pointer in user space to map to the location in CEB_SHM_Start. Could
you send a snippet of code that worked for you? I EXPORTED the CEB
symbols and can access them from my driver, using "High Shared
memory, the less than 4 Meg way" I pass the Start address to user
space and try to mmap from there with no luck.
The idea here is to use High Shared memory as a "Command and Control"
block to issue commands to the driver and use the Lower Major Memory
block grabbed from the kernel data space as a Data block to return the
recorded data. This lets me have a know area to place the Data block
address into that can be passed into user space.
- - Michael Wyrick
> -----Original Message-----
> From: SteenbeckDigital [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 16, 1999 2:29 AM
> To: Michael Wyrick (rtl)
> Subject: [rtl] Large shared memory Blocks
>
>
> Hi Michael
>
> I myself patch the kernel slightly and grab the
> memory before the memory management sees it.
> This is the quick and dirty way, but will go around
> the 4MB border
>
> Jens Michaelsen
>
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.0.2
iQA/AwUBN2e1txDFm/TgIQS2EQJgUACgtu2XZQ3n3nl4RoQYcNGjYnjnbcAAoKca
h2DauW1wkFMifSWaxg2xIFgb
=HUqS
-----END PGP SIGNATURE-----
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/