summaryrefslogtreecommitdiff
path: root/src/include/cpu/x86/post_code.h
blob: 5f968b75fb36de797658374c96d0a90f1998f6a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __X86_POST_CODE_H__
#define __X86_POST_CODE_H__

#include <console/post_codes.h>


#if IS_ENABLED(CONFIG_POST_IO)
#define post_code(value)        \
	movb    $value, %al;    \
	outb    %al, $CONFIG_POST_IO_PORT

#else
#define post_code(value)
#endif

#endif /* __X86_POST_CODE_H__ */