PS2Dev.h revision bb4f31aac6155757fe15ef9fe0bf843ed9a14441
2c985e439e07c807c1c16393a77de198e91b0dafvboxsync * PS/2 devices - Internal header file.
2c985e439e07c807c1c16393a77de198e91b0dafvboxsync * Copyright (C) 2007-2012 Oracle Corporation
2c985e439e07c807c1c16393a77de198e91b0dafvboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
2c985e439e07c807c1c16393a77de198e91b0dafvboxsync * available from http://www.virtualbox.org. This file is free software;
2c985e439e07c807c1c16393a77de198e91b0dafvboxsync * you can redistribute it and/or modify it under the terms of the GNU
2c985e439e07c807c1c16393a77de198e91b0dafvboxsync * General Public License (GPL) as published by the Free Software
2c985e439e07c807c1c16393a77de198e91b0dafvboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
2c985e439e07c807c1c16393a77de198e91b0dafvboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
2c985e439e07c807c1c16393a77de198e91b0dafvboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
2c985e439e07c807c1c16393a77de198e91b0dafvboxsync/* Must be at least as big as the real struct. */
2c985e439e07c807c1c16393a77de198e91b0dafvboxsync/* Hide the internal structure. */
bb4f31aac6155757fe15ef9fe0bf843ed9a14441vboxsync#if !(defined(IN_PS2K) || defined(VBOX_DEVICE_STRUCT_TESTCASE))
2c985e439e07c807c1c16393a77de198e91b0dafvboxsynctypedef struct PS2K {
2c985e439e07c807c1c16393a77de198e91b0dafvboxsyncint PS2KConstruct(PPDMDEVINS pDevIns, PPS2K pThis, void *pParent, int iInstance);
2c985e439e07c807c1c16393a77de198e91b0dafvboxsyncint PS2KAttach(PPDMDEVINS pDevIns, PPS2K pThis, unsigned iLUN, uint32_t fFlags);
2c985e439e07c807c1c16393a77de198e91b0dafvboxsyncvoid PS2KRelocate(PPS2K pThis, RTGCINTPTR offDelta);
2c985e439e07c807c1c16393a77de198e91b0dafvboxsyncint PS2KLoadState(PSSMHANDLE pSSM, PPS2K pThis, uint32_t uVersion);
2c985e439e07c807c1c16393a77de198e91b0dafvboxsync//@todo: This should live with the KBC implementation.
2c985e439e07c807c1c16393a77de198e91b0dafvboxsync/** AT to PC scancode translator state. */
2c985e439e07c807c1c16393a77de198e91b0dafvboxsynctypedef enum {