2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: Graphics function UnlockLayerRom()
8 /*****************************************************************************
11 #include <proto/graphics.h>
13 AROS_LH1(void, UnlockLayerRom,
16 AROS_LHA(struct Layer *, l, A5),
19 struct GfxBase *, GfxBase, 73, Graphics)
22 Unlocks a previously locked layer for access by other applications
24 If a task has locked a layer multiple times it must unlock it
25 as many times as well as locks nest.
26 This functions does the same as layers/UnlockLayerRom()
29 l - pointer to layer structure
38 Does not save all registers.
41 LockLayerRom(), hyperlayers.library/LockLayer()
42 hyperlayers.library/UnLockLayer()
48 *****************************************************************************/
49 #include "aros/m68k/asm.h"
53 .globl AROS_SLIB_ENTRY(UnlockLayerRom,Graphics,73)
55 AROS_SLIB_ENTRY(UnlockLayerRom,Graphics,73):
58 lea.l %a5@(ly_Lock),%a0
59 jsr %a6@(ReleaseSemaphore)