mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-08-04 09:46:10 -04:00
20 lines
578 B
C++
20 lines
578 B
C++
//=======================================================================
|
|
// Copyright Baptiste Wicht 2013.
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
// (See accompanying file LICENSE_1_0.txt or copy at
|
|
// http://www.boost.org/LICENSE_1_0.txt)
|
|
//=======================================================================
|
|
|
|
#ifndef KERNEL_UTILS_H
|
|
#define KERNEL_UTILS_H
|
|
|
|
#include "types.hpp"
|
|
|
|
uint8_t in_byte(uint16_t _port);
|
|
void out_byte(uint16_t _port, uint8_t _data);
|
|
|
|
uint16_t in_word(uint16_t _port);
|
|
void out_word(uint16_t _port, uint16_t _data);
|
|
|
|
#endif
|