Is it possible to increase kernel memory ?
-
- Posts: 160
- Joined: Wed Jul 12, 2006 7:09 am
Is it possible to increase kernel memory ?
I have a trouble: when I load my module kernelextender.prx,
the system refuses to load other modules (as network
modules) with an error 0x80020190 (no memory).
It seems that the module kernelextender.prx, programmed by
me, occupies all memory kernel, but it is also 5 Kb.
I have custom firmware 3.77 M33-4 on PSP-SLIM
What do you think about this ?
the system refuses to load other modules (as network
modules) with an error 0x80020190 (no memory).
It seems that the module kernelextender.prx, programmed by
me, occupies all memory kernel, but it is also 5 Kb.
I have custom firmware 3.77 M33-4 on PSP-SLIM
What do you think about this ?
-
- Posts: 160
- Joined: Wed Jul 12, 2006 7:09 am
well if you use malloc or you have set the heap (PSP_HEAP_SIZE_KB(20480); ) or you did a too big heap in the thread initialization.pegasus2000 wrote:I don't know. How can I ensure that the allocation isn't inweltall wrote:strange kernel ram available is at least 300kb in the worst cases.
are you sure you arent alloching ram on the kernel partition?
kernel partition ?
you may even try loading it trough psplink so you can check what happens to ram exactly
-
- Posts: 160
- Joined: Wed Jul 12, 2006 7:09 am
I have set PSP_HEAP_SIZE_MAXweltall wrote:well if you use malloc or you have set the heap (PSP_HEAP_SIZE_KB(20480); ) or you did a too big heap in the thread initialization.pegasus2000 wrote:I don't know. How can I ensure that the allocation isn't inweltall wrote:strange kernel ram available is at least 300kb in the worst cases.
are you sure you arent alloching ram on the kernel partition?
kernel partition ?
you may even try loading it trough psplink so you can check what happens to ram exactly
yes and then games will stop working and other plugins won't find things were they should :PJim wrote:Allocate the memory in your user area and pass a pointer to the kernel code.
Jim
a plugin should use only kernel ram or at least volatile (not suggested as some games use it) and me (it seems writing there doesn't do problems)
I'd guess writing to ME memory while the video/music plugin is running or a game is using ME's audio/video decoding would be a problem though, no?
Which games use the volatile memory?
Which games use the volatile memory?
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl