TacOS  0.2
 Tout Structures de données Fichiers Fonctions Variables Définitions de type Énumérations Macros
Macros | Fonctions | Variables
Référence du fichier floppy.c
#include <fs/devfs.h>
#include <ioports.h>
#include <kstdio.h>
#include <klibc/string.h>
#include <types.h>
#include <klog.h>
#include "floppy_interrupt.h"
#include "floppy_utils.h"
#include "floppy_motor.h"
#include "floppy_dma.h"
Graphe des dépendances par inclusion de floppy.c:

Macros

#define FLOPPY_SECTOR_SIZE   512
 
#define FLOPPY_NB_HEADS   2
 
#define FLOPPY_SECTORS_PER_TRACK   18
 

Fonctions

int floppy_calibrate (int drive)
 
int init_drive (int drive)
 
int init_floppy ()
 Initilise le driver floppy.
 

Variables

int drive_id [2] = { 0 , 1 }
 

Description détaillée

Auteur
TacOS developers

LICENSE

Copyright (C) 2010-2014 TacOS developers.

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 at http://www.gnu.org/copyleft/gpl.html

You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses.

DESCRIPTION

Floppy driver