Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: XAmiga Current Crash (blizzard 1230mkIV, 64MB): Info from core

radoslaw.kujawa%c0ff33.net@localhost (Radoslaw Kujawa) writes:

>Also, please try rolling back:
>src/sys/arch/amiga/amiga/cc.h to version 1.16
>src/sys/arch/amiga/amiga/cc.c to version 1.22
>and recompile the kernel.

The conversion from CIRCLEQ to TAILQ is broken, the semantics
are not really the same. But the real problem is that the code
also abused the CIRCLEQ structure by using a NULL cqe_next
pointer to signal that a node is not queued.

You could create a new hack that works with TAILQ (you need
tqe_prev because tqe_next can be NULL for queued nodes), but
I propose to remove such abuse completely at the cost of a
slightly larger mem_node structure.

Please have a look at


With this Xamiga doesn't cause a panic anymore.

N.B. the Atari port uses almost identical code to manage "st memory".
Whatever we chose as a solution could be applied there too.

Home | Main Index | Thread Index | Old Index