2 * Copyright (c) 2014 Google, Inc
4 * SPDX-License-Identifier: GPL-2.0+
10 /* port to use for post codes */
11 #define POST_PORT 0x80
13 /* post codes which represent various stages of init */
14 #define POST_START 0x1e
15 #define POST_CAR_START 0x1f
17 #define POST_START_STACK 0x29
18 #define POST_START_DONE 0x2a
20 /* Output a post code using al - value must be 0 to 0xff */
22 #define post_code(value) \
26 static inline void post_code(int code)
28 outb(code, POST_PORT);