Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / lowlevel / systemcontrola.c
bloba12354e6db15c20300f333a91fea06fa87744ace
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
9 #define DEBUG 1
10 #include <aros/debug.h>
11 #include <proto/arossupport.h>
13 #include <aros/libcall.h>
14 #include <exec/types.h>
15 #include <libraries/lowlevel.h>
17 #include "lowlevel_intern.h"
19 /*****************************************************************************
21 NAME */
22 #include <proto/lowlevel.h>
24 AROS_LH1(ULONG, SystemControlA,
26 /* SYNOPSIS */
27 AROS_LHA(struct TagItem *, tags, A1),
29 /* LOCATION */
30 struct LowLevelBase *, LowLevelBase, 12, LowLevel)
32 /* FUNCTION
34 INPUTS
36 RESULT
38 BUGS
39 This function is unimplemented.
41 INTERNALS
43 *****************************************************************************/
45 AROS_LIBFUNC_INIT
47 struct TagItem *tag, *tagp = tags;;
49 aros_print_not_implemented ("lowlevel/SystemControlA");
51 /* For now, dump all tags in debug mode */
52 while ((tag = LibNextTagItem(&tagp))) {
53 D(bug("%s: Tag SCON_Dummy+%d, Data %p\n", __func__, tag->ti_Tag - SCON_Dummy, (APTR)tag->ti_Data));
56 return (tags ? tags->ti_Tag : 0);
58 AROS_LIBFUNC_EXIT
59 } /* SystemControlA */