OSDN Git Service

android-x86/external-efivar.git
10 years agoAdd documentation for efi_get_next_variable_name()
Peter Jones [Fri, 14 Jun 2013 15:25:45 +0000 (11:25 -0400)]
Add documentation for efi_get_next_variable_name()

Signed-off-by: Peter Jones <pjones@redhat.com>
10 years agoAdd some sample code for efi_get_next_variable_name()
Peter Jones [Fri, 14 Jun 2013 15:14:38 +0000 (11:14 -0400)]
Add some sample code for efi_get_next_variable_name()

Signed-off-by: Peter Jones <pjones@redhat.com>
10 years agoMake dep generation work a bit better.
Peter Jones [Fri, 14 Jun 2013 15:08:07 +0000 (11:08 -0400)]
Make dep generation work a bit better.

Signed-off-by: Peter Jones <pjones@redhat.com>
10 years agoAdd efi_get_next_variable_name()
Peter Jones [Fri, 14 Jun 2013 15:05:29 +0000 (11:05 -0400)]
Add efi_get_next_variable_name()

The semantics are simple.  Return value of 0 means "done", 1 means
"continue", -1 is error.  Call it over and over and it'll pass back a
pointer to a name and a pointer to a guid.  Do not overwrite these.

Signed-off-by: Peter Jones <pjones@redhat.com>
10 years agoClean up "vars" implementation just a little.
Peter Jones [Fri, 14 Jun 2013 14:13:01 +0000 (10:13 -0400)]
Clean up "vars" implementation just a little.

Change "/sys/firmware/efi/vars/" to a VARS_PATH macro and use it.

Signed-off-by: Peter Jones <pjones@redhat.com>
10 years agoFix minor formatting bugs.
Peter Jones [Fri, 14 Jun 2013 13:36:12 +0000 (09:36 -0400)]
Fix minor formatting bugs.

Signed-off-by: Peter Jones <pjones@redhat.com>
10 years agoRelease 0.2
Peter Jones [Thu, 13 Jun 2013 20:58:56 +0000 (16:58 -0400)]
Release 0.2

Signed-off-by: Peter Jones <pjones@redhat.com>
10 years agoAdd a .pc file
Peter Jones [Thu, 13 Jun 2013 21:08:30 +0000 (17:08 -0400)]
Add a .pc file

Signed-off-by: Peter Jones <pjones@redhat.com>
10 years agoHide private functions better.
Peter Jones [Thu, 13 Jun 2013 20:58:28 +0000 (16:58 -0400)]
Hide private functions better.

Signed-off-by: Peter Jones <pjones@redhat.com>
10 years agoefivar.o should not be part of the library.
Peter Jones [Thu, 13 Jun 2013 20:58:12 +0000 (16:58 -0400)]
efivar.o should not be part of the library.

Signed-off-by: Peter Jones <pjones@redhat.com>
10 years agoMove stuff only vars uses to vars.c
Peter Jones [Thu, 13 Jun 2013 20:54:24 +0000 (16:54 -0400)]
Move stuff only vars uses to vars.c

Signed-off-by: Peter Jones <pjones@redhat.com>
10 years agoIgnore some more stuff
Peter Jones [Thu, 13 Jun 2013 20:49:33 +0000 (16:49 -0400)]
Ignore some more stuff

Signed-off-by: Peter Jones <pjones@redhat.com>
10 years agoUpdate tester to assume 1025 will work, and to be more verbose.
Peter Jones [Thu, 13 Jun 2013 20:48:16 +0000 (16:48 -0400)]
Update tester to assume 1025 will work, and to be more verbose.

Signed-off-by: Peter Jones <pjones@redhat.com>
10 years agoUpdate to use efivarfs when available.
Peter Jones [Thu, 13 Jun 2013 20:48:46 +0000 (16:48 -0400)]
Update to use efivarfs when available.

Signed-off-by: Peter Jones <pjones@redhat.com>
11 years agoDon't leak lots of ram from our test harness.
Peter Jones [Fri, 24 Aug 2012 17:32:10 +0000 (13:32 -0400)]
Don't leak lots of ram from our test harness.

Now passes valgrind's memcheck without any missing ram.

11 years agoZero-length variables are not supported; that test should fail.
Peter Jones [Fri, 24 Aug 2012 15:52:33 +0000 (11:52 -0400)]
Zero-length variables are not supported; that test should fail.

11 years agoCorrectly handle negative test results when they're expected.
Peter Jones [Fri, 24 Aug 2012 15:50:32 +0000 (11:50 -0400)]
Correctly handle negative test results when they're expected.

11 years agoFix efi guid formatting.
Peter Jones [Fri, 24 Aug 2012 15:43:30 +0000 (11:43 -0400)]
Fix efi guid formatting.

11 years agoefi_get_variable: get attributes correctly and pass them back.
Peter Jones [Fri, 24 Aug 2012 15:42:47 +0000 (11:42 -0400)]
efi_get_variable: get attributes correctly and pass them back.

11 years agoefi_get_variable_attributes: just call efi_get_variable().
Peter Jones [Fri, 24 Aug 2012 15:41:12 +0000 (11:41 -0400)]
efi_get_variable_attributes: just call efi_get_variable().

/attributes actually has the /text/ names in them instead of the value.
Just call efi_get_variable() and deal with its results instead of
parsing this junk.

11 years agoefi_get_variable_size: actually pass the size back.
Peter Jones [Fri, 24 Aug 2012 15:40:08 +0000 (11:40 -0400)]
efi_get_variable_size: actually pass the size back.

11 years agoefi_del_variable: Declare our buffer before the first failure case.
Peter Jones [Fri, 24 Aug 2012 14:51:23 +0000 (10:51 -0400)]
efi_del_variable: Declare our buffer before the first failure case.

11 years agoAdd quite a few (untested) test cases.
Peter Jones [Tue, 21 Aug 2012 18:14:35 +0000 (14:14 -0400)]
Add quite a few (untested) test cases.

11 years agoSome slightly more sane types for some of the library functions.
Peter Jones [Tue, 21 Aug 2012 18:14:08 +0000 (14:14 -0400)]
Some slightly more sane types for some of the library functions.

11 years agoAdd tests to "make all"
Peter Jones [Tue, 21 Aug 2012 18:13:44 +0000 (14:13 -0400)]
Add tests to "make all"

11 years agoFix bugs found by test harness.
Peter Jones [Mon, 20 Aug 2012 20:17:38 +0000 (16:17 -0400)]
Fix bugs found by test harness.

11 years agoUse flags that will actually work when testing.
Peter Jones [Mon, 20 Aug 2012 20:17:16 +0000 (16:17 -0400)]
Use flags that will actually work when testing.

11 years agoMake test program actually find a failure that I need to address.
Peter Jones [Mon, 20 Aug 2012 19:15:53 +0000 (15:15 -0400)]
Make test program actually find a failure that I need to address.

11 years agoUpdate test case suite.
Peter Jones [Mon, 20 Aug 2012 19:05:35 +0000 (15:05 -0400)]
Update test case suite.

11 years agoBuild tester with "make all"
Peter Jones [Mon, 20 Aug 2012 18:50:36 +0000 (14:50 -0400)]
Build tester with "make all"

11 years agoFix copy/paste error with EFI_GLOBAL_GUID
Peter Jones [Mon, 20 Aug 2012 18:47:59 +0000 (14:47 -0400)]
Fix copy/paste error with EFI_GLOBAL_GUID

11 years agoAdd efi_variables_supported()
Peter Jones [Mon, 20 Aug 2012 18:38:35 +0000 (14:38 -0400)]
Add efi_variables_supported()

11 years agoMake "make install" and "make test" work as expected.
Peter Jones [Mon, 20 Aug 2012 17:23:28 +0000 (13:23 -0400)]
Make "make install" and "make test" work as expected.

This fixes the installed library name (libfoo.so.$SONAME_VERSION) and
appropriate symlink building for the library as well.

11 years agoAdd "all" rule to docs so install isn't default.
Peter Jones [Mon, 20 Aug 2012 15:25:48 +0000 (11:25 -0400)]
Add "all" rule to docs so install isn't default.

11 years agoDo a slightly better job with man pages.
Peter Jones [Mon, 20 Aug 2012 14:57:11 +0000 (10:57 -0400)]
Do a slightly better job with man pages.

11 years agoAdd a man page.
Peter Jones [Mon, 20 Aug 2012 14:46:17 +0000 (10:46 -0400)]
Add a man page.

11 years agoThis should never have been in source control.
Peter Jones [Mon, 20 Aug 2012 14:24:32 +0000 (10:24 -0400)]
This should never have been in source control.

11 years agoFix some stupid types.
Peter Jones [Mon, 20 Aug 2012 14:24:02 +0000 (10:24 -0400)]
Fix some stupid types.

11 years agoInstall efivar.h as well.
Peter Jones [Mon, 20 Aug 2012 14:12:37 +0000 (10:12 -0400)]
Install efivar.h as well.

11 years agoUpdate license text to actually make sense.
Peter Jones [Mon, 20 Aug 2012 14:08:18 +0000 (10:08 -0400)]
Update license text to actually make sense.

To be clear - LGPL v2.1 only.

11 years agoUpdate "make install" to actually work.
Peter Jones [Mon, 20 Aug 2012 14:07:40 +0000 (10:07 -0400)]
Update "make install" to actually work.

11 years agoAdd .a's to .gitignore
Peter Jones [Thu, 16 Aug 2012 20:55:41 +0000 (16:55 -0400)]
Add .a's to .gitignore

11 years agoAdd lots of code to do the things this library is supposed to do.
Peter Jones [Thu, 16 Aug 2012 20:55:23 +0000 (16:55 -0400)]
Add lots of code to do the things this library is supposed to do.

11 years agoMake shared libs use -shared like they should
Peter Jones [Thu, 16 Aug 2012 20:54:41 +0000 (16:54 -0400)]
Make shared libs use -shared like they should

11 years agoMake the license clear.
Peter Jones [Thu, 16 Aug 2012 19:17:57 +0000 (15:17 -0400)]
Make the license clear.

11 years agoAdd some makefiles
Peter Jones [Thu, 16 Aug 2012 18:49:43 +0000 (14:49 -0400)]
Add some makefiles

11 years agoAdd trivial gitignore.
Peter Jones [Thu, 16 Aug 2012 18:11:50 +0000 (14:11 -0400)]
Add trivial gitignore.

11 years agoWhy doesn't github name README "README"?
Peter Jones [Thu, 16 Aug 2012 18:11:10 +0000 (14:11 -0400)]
Why doesn't github name README "README"?

11 years agoInitial commit
Peter Jones [Thu, 16 Aug 2012 18:10:11 +0000 (11:10 -0700)]
Initial commit