Mercurial > hvf > hvf-old
view cp/fs/bdev.c @ 508:8188966f0cc5
Revert "cp: the config loading code should not use the schedule()"
This reverts commit d463b9c96943cd83c7df8b06b2a72b92b62dfa3a. Which
contained a rather hacky workaround for an initialization issue. Since the
late init code got moved into a separate task, this is no longer needed.
Conflicts:
cp/fs/edf.c
cp/include/edf.h
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Sat, 23 Apr 2011 17:45:26 -0400 |
parents | bcfae5afa971 |
children |
line wrap: on
line source
/* * (C) Copyright 2007-2011 Josef 'Jeff' Sipek <jeffpc@josefsipek.net> * * This file is released under the GPLv2. See the COPYING file for more * details. */ #include <device.h> #include <bdev.h> int bdev_read_block(struct device *dev, void *buf, int lba) { if (!dev->dev->read) return -EINVAL; return dev->dev->read(dev, buf, lba); }