Navigation Menu

Skip to content

Commit

Permalink
Add the vioblk driver
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Yusupov authored and xl0 committed Jun 15, 2011
1 parent 5b6223f commit 5c41bcf
Show file tree
Hide file tree
Showing 3 changed files with 1,258 additions and 2 deletions.
15 changes: 15 additions & 0 deletions virtio_blk/Makefile
@@ -0,0 +1,15 @@


CFLAGS= -D_KERNEL -m64 -mcmodel=kernel -mno-red-zone -ffreestanding -nodefaultlibs -I../virtio -Wall -g
LDFLAGS=-r -dy -N misc/mac -N misc/virtio -N drv/blkdev

CC=gcc
LD=/usr/ccs/bin/ld
all: vioblk

vioblk: vioblk.c ../virtio/virtiovar.h
$(CC) $(CFLAGS) -c vioblk.c -o vioblk.o
$(LD) $(LDFLAGS) vioblk.o -o vioblk

clean:
rm -f vioblk vioblk.o

0 comments on commit 5c41bcf

Please sign in to comment.