Skip to content

Commit a3fc62e

Browse files
committed
Import from internal tree
1 parent 9b908d2 commit a3fc62e

File tree

4 files changed

+441
-0
lines changed

4 files changed

+441
-0
lines changed

.clang-format

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
BasedOnStyle: Chromium
2+
Language: Cpp
3+
MaxEmptyLinesToKeep: 3
4+
IndentCaseLabels: false
5+
AllowShortIfStatementsOnASingleLine: false
6+
AllowShortCaseLabelsOnASingleLine: false
7+
AllowShortLoopsOnASingleLine: false
8+
DerivePointerAlignment: false
9+
PointerAlignment: Right
10+
SpaceAfterCStyleCast: true
11+
TabWidth: 4
12+
UseTab: Never
13+
IndentWidth: 4
14+
BreakBeforeBraces: Linux
15+
AccessModifierOffset: -4
16+
ForEachMacros:
17+
- foreach
18+
- Q_FOREACH
19+
- BOOST_FOREACH
20+
- list_for_each
21+
- list_for_each_safe
22+
- list_for_each_entry
23+
- list_for_each_entry_safe
24+
- hlist_for_each_entry
25+
- rb_list_foreach
26+
- rb_list_foreach_safe
27+
- vec_foreach

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.*.ko.cmd
2+
.*.o.cmd
3+
*.symvers
4+
*.order
5+
*.o
6+
*.ko
7+
*.mod.c

Makefile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
NAME = simrupt
2+
obj-m := $(NAME).o
3+
4+
KDIR ?= /lib/modules/`uname -r`/build
5+
PWD := $(shell pwd)
6+
7+
all:
8+
$(MAKE) -C $(KDIR) M=$(PWD) modules
9+
10+
clean:
11+
$(MAKE) -C $(KDIR) M=$(PWD) clean

0 commit comments

Comments
 (0)