aboutsummaryrefslogtreecommitdiff
path: root/vboxlog.h
blob: 11ecf681ac4b22bb9681cd1b258958a840c34e4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef VBOXDLOG_H
#define VBOXDLOG_H

/** Logs a single character to the VBox debug message port. */
static void vbox_log_putc(char c);
#pragma aux vbox_log_putc = \
	"mov dx, 0x504" \
	"out dx, al" \
	__parm [al] \
	__modify [dx]

#endif // VBOXDLOG_H