source: src/libcfa/startup.h @ d46ed6e

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since d46ed6e was 891790ef, checked in by Peter A. Buhr <pabuhr@…>, 6 years ago

make memory highest priority boot constructor, add pre/post application hook

  • Property mode set to 100644
File size: 942 bytes
RevLine 
[9d944b2]1//
2// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// startup.h --
8//
9// Author           : Thierry Delisle
10// Created On       : Wed Mar 29 15:56:41 2017
[ed9c0a8]11// Last Modified By : Peter A. Buhr
[891790ef]12// Last Modified On : Tue Jul 24 16:16:37 2018
13// Update Count     : 4
[9d944b2]14//
15
[ed9c0a8]16#pragma once
[9d944b2]17
[7444113]18#if GCC_VERSION > 50000
[9d944b2]19extern "C" {
20        enum {
[891790ef]21                STARTUP_PRIORITY_MEMORY     = 101,
22                STARTUP_PRIORITY_CORE       = 102,
23                STARTUP_PRIORITY_KERNEL     = 103,
[9d944b2]24                STARTUP_PRIORITY_IOSTREAM   = 104,
[891790ef]25                STARTUP_PRIORITY_APPREADY   = 105,
[9d944b2]26        };
27}
[7444113]28#else
[891790ef]29#define STARTUP_PRIORITY_MEMORY     101
30#define STARTUP_PRIORITY_CORE       102
31#define STARTUP_PRIORITY_KERNEL     103
[7444113]32#define STARTUP_PRIORITY_IOSTREAM   104
[891790ef]33#define STARTUP_PRIORITY_APPREADY   105
[7444113]34#endif
[9d944b2]35
[ed9c0a8]36// Local Variables: //
37// mode: c //
38// tab-width: 4 //
39// End: //
Note: See TracBrowser for help on using the repository browser.