Examples are include/platform.h -> platform/include/platform.h include/target.h -> target/include/target.h The old model generally considered these to be Always There includes, but they're starting to stick out more and more so may as well actually follow the model that most of the rest of the system follows.
26 lines
602 B
C
26 lines
602 B
C
/*
|
|
* Copyright (c) 2008-2014 Travis Geiselbrecht
|
|
*
|
|
* Use of this source code is governed by a MIT-style
|
|
* license that can be found in the LICENSE file or at
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
#pragma once
|
|
|
|
#include <lk/compiler.h>
|
|
#include <sys/types.h>
|
|
|
|
__BEGIN_CDECLS
|
|
|
|
void arch_early_init(void);
|
|
void arch_init(void);
|
|
void arch_quiesce(void);
|
|
void arch_chain_load(void *entry, ulong arg0, ulong arg1, ulong arg2, ulong arg3) __NO_RETURN;
|
|
void arch_enter_uspace(vaddr_t entry_point, vaddr_t user_stack_top) __NO_RETURN;
|
|
|
|
__END_CDECLS
|
|
|
|
/* arch specific bits */
|
|
#include <arch/defines.h>
|
|
|