31 lines
936 B
C
31 lines
936 B
C
/**
|
|
* HAL implementation for x86_64 of asagiri
|
|
* Copyright (C) 2023 Furkan Mudanyali
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef _ASAGIRI_HAL_H
|
|
#define _ASAGIRI_HAL_H
|
|
|
|
#include <bits/alltypes.h>
|
|
|
|
#define asm __asm__ __volatile__
|
|
|
|
void hcf();
|
|
void outb(uint16_t, uint8_t);
|
|
uint8_t inb(uint16_t);
|
|
|
|
#endif
|