Subversion Repositories HelenOS-historic

Rev

Rev 1753 | Rev 1757 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1753 Rev 1754
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
 /** @addtogroup genarch   
29
/** @addtogroup genarch
30
 * @{
30
 * @{
31
 */
31
 */
-
 
32
/**
32
/** @file
33
 * @file    i8042.c
-
 
34
 * @brief   i8042 processor driver.
-
 
35
 *
-
 
36
 * It takes care of low-level keyboard functions.
33
 */
37
 */
34
 
38
 
35
#include <genarch/i8042/i8042.h>
39
#include <genarch/i8042/i8042.h>
36
#include <arch/drivers/i8042.h>
40
#include <arch/drivers/i8042.h>
37
#include <arch/interrupt.h>
41
#include <arch/interrupt.h>
Line 43... Line 47...
43
#include <console/chardev.h>
47
#include <console/chardev.h>
44
#include <console/console.h>
48
#include <console/console.h>
45
#include <macros.h>
49
#include <macros.h>
46
#include <interrupt.h>
50
#include <interrupt.h>
47
 
51
 
48
/**
-
 
49
 * i8042 processor driver.
-
 
50
 * It takes care of low-level keyboard functions.
-
 
51
 */
-
 
52
 
-
 
53
/** Keyboard commands. */
52
/* Keyboard commands. */
54
#define KBD_ENABLE  0xf4
53
#define KBD_ENABLE  0xf4
55
#define KBD_DISABLE 0xf5
54
#define KBD_DISABLE 0xf5
56
#define KBD_ACK     0xfa
55
#define KBD_ACK     0xfa
57
 
56
 
58
/*
57
/*
Line 573... Line 572...
573
                key_pressed(x);
572
                key_pressed(x);
574
        }
573
        }
575
    }
574
    }
576
}
575
}
577
 
576
 
578
 /** @}
577
/** @}
579
 */
578
 */
580
 
579