Newer
Older
ubixos / src / tools / ubixfs.h
@reddawg reddawg on 30 May 2002 804 bytes Clean up
/**************************************************************************************
 Copyright (c) 2002 The UbixOS Project
 All rights reserved.

 Redistribution and use in source and binary forms, with or without modification,
 are prohibited.

 $Id$

**************************************************************************************/

#ifndef _UBIXFS_H
#define _UBIXFS_H

#include <ubixos/types.h>

struct fileTableEntry {
  uChar fileName[22];
  uShort start;
  uShort length;
  uShort size;
  uShort attributes;
  uShort reserved;
  };

struct bootSect {
  uChar jmp[4];
  uChar id[6];
  uShort version;
  uShort tmp;
  uShort fsStart;
  uShort tmp2;
  uLong krnl_start;
  uInt BytesPerSector;
  uInt SectersPerTrack;
  uInt TotalHeads;
  uLong TotalSectors;
  uChar code[479];
  };

#endif