cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

msdos_fs.h (273B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _LINUX_MSDOS_FS_H
      3#define _LINUX_MSDOS_FS_H
      4
      5#include <uapi/linux/msdos_fs.h>
      6
      7/* media of boot sector */
      8static inline int fat_valid_media(u8 media)
      9{
     10	return 0xf8 <= media || media == 0xf0;
     11}
     12#endif /* !_LINUX_MSDOS_FS_H */