30 lines
873 B
C
30 lines
873 B
C
/* See the end of this file for copyright and license terms. */
|
|
|
|
#pragma once
|
|
|
|
#ifndef _ASM_SOURCE
|
|
#error "This header is only intended to be included from assembly files"
|
|
#endif
|
|
|
|
#define ASM_ENTRY(name) \
|
|
.global name; \
|
|
.type name, @function; \
|
|
.align 4; \
|
|
name:
|
|
|
|
#define ASM_END(name) \
|
|
.size name, . - name
|
|
|
|
/*
|
|
* This file is part of GayBSD.
|
|
* Copyright (c) 2021 fef <owo@fef.moe>.
|
|
*
|
|
* GayBSD is nonviolent software: you may only use, redistribute, and/or
|
|
* modify it under the terms of the Cooperative Nonviolent Public License
|
|
* (CNPL) as found in the LICENSE file in the source code root directory
|
|
* or at <https://git.pixie.town/thufie/npl-builder>; either version 7
|
|
* of the license, or (at your option) any later version.
|
|
*
|
|
* GayBSD comes with ABSOLUTELY NO WARRANTY, to the extent
|
|
* permitted by applicable law. See the CNPL for details.
|
|
*/
|