summaryrefslogtreecommitdiff
path: root/src/arch/i386/include/arch/asm.h
blob: 122b299d238f538a080604289c5f98614eff0583 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef ASM_H
#define	ASM_H

#define ASSEMBLER

/*
 * Bootstrap code for the STPC Consumer
 * Copyright (c) 1999 by Net Insight AB. All Rights Reserved.
 *
 */

#define	I386_ALIGN_TEXT	0
#define	I386_ALIGN_DATA	0

#define	STATIC(x)	.align I386_ALIGN_TEXT; EXT(x): 
#define	GLOBAL(x)	.globl EXT(x); STATIC(x)
#define	ENTRY(x)	.text; GLOBAL(x)

#endif /* ASM_H */