Zerocat Chipflasher
v0.4.3 (board-edition-1)
Flash free firmware to BIOS chips, kick the Manageability Engine.
|
Go to the source code of this file.
Classes | |
struct | tag_filespec |
Macros | |
#define | SIZE_LINEBUF (1 << 8) |
#define | HEADER "Zerocat Chipflasher (http://www.zerocat.org) | %s" |
#define | FRAME_HEADER 15 |
#define | SIZE_HEADER (SIZE_LINEBUF - FRAME_HEADER) |
#define | ARRAY_FILESPEC 2 |
#define | PAYLOAD_BASE (1 << 4) |
#define | FRAME_MOTBIN 17 |
#define | SHIFT_MOTBIN 0 |
#define | FRAME_HEXDUMP 15 |
#define | SHIFT_HEXDUMP 2 |
#define | MODE_INLINE 0x1F |
#define | MODE_SPLIT 0x20 |
#define | MODE_STRIP 0x40 |
#define | MODE_SCREEN_OUTPUT 0x80 |
#define | MODE_HEXDUMP (MODE_INLINE & 0x00) |
#define | MODE_MOTBIN ((MODE_INLINE & 0x10) | MODE_SPLIT | MODE_STRIP) |
#define | HEXDUMP_LINELEN (10 + PAYLOAD_BASE * 4 + 2 + 2) |
Enumerations | |
enum | tag_format { MOTBIN = 0, HEXDUMP } |
Functions | |
void | filespec_ini (int chipsize) |
int | payload (enum tag_format format, int chipsize) |
Zerocat Chipflasher — Flash free firmware to BIOS chips, kick the Manageability Engine.
Copyright (C) 2015, 2016, 2017, 2018 Kai Mertens kmx@p oste o.net
The Zerocat Chipflasher is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
The Zerocat Chipflasher is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
This file is part of the Zerocat Chipflasher.
Definition in file filespec.h.
#define ARRAY_FILESPEC 2 |
Definition at line 34 of file filespec.h.
#define FRAME_HEADER 15 |
Definition at line 32 of file filespec.h.
#define FRAME_HEXDUMP 15 |
Definition at line 38 of file filespec.h.
#define FRAME_MOTBIN 17 |
Definition at line 36 of file filespec.h.
#define HEADER "Zerocat Chipflasher (http://www.zerocat.org) | %s" |
Definition at line 31 of file filespec.h.
#define HEXDUMP_LINELEN (10 + PAYLOAD_BASE * 4 + 2 + 2) |
Definition at line 50 of file filespec.h.
#define MODE_HEXDUMP (MODE_INLINE & 0x00) |
Definition at line 46 of file filespec.h.
#define MODE_INLINE 0x1F |
Definition at line 42 of file filespec.h.
#define MODE_MOTBIN ((MODE_INLINE & 0x10) | MODE_SPLIT | MODE_STRIP) |
Definition at line 47 of file filespec.h.
#define MODE_SCREEN_OUTPUT 0x80 |
Definition at line 45 of file filespec.h.
#define MODE_SPLIT 0x20 |
Definition at line 43 of file filespec.h.
#define MODE_STRIP 0x40 |
Definition at line 44 of file filespec.h.
#define PAYLOAD_BASE (1 << 4) |
Definition at line 35 of file filespec.h.
#define SHIFT_HEXDUMP 2 |
Definition at line 39 of file filespec.h.
#define SHIFT_MOTBIN 0 |
Definition at line 37 of file filespec.h.
#define SIZE_HEADER (SIZE_LINEBUF - FRAME_HEADER) |
Definition at line 33 of file filespec.h.
#define SIZE_LINEBUF (1 << 8) |
Definition at line 30 of file filespec.h.
enum tag_format |
Enumerator | |
---|---|
MOTBIN | |
HEXDUMP |
Definition at line 52 of file filespec.h.
void filespec_ini | ( | int | chipsize | ) |
Definition at line 66 of file filespec.c.
|
inline |
Definition at line 50 of file filespec.c.
Zerocat’s note on JavaScript licenses: All JavaScript files of this page are free software. Generated files (dynsections.js, menu.js, menudata.js) carry doxygen’s GNU GPLv2 license header. File jquery.js is minified code but points to corresponding source files, which in turn provide their own license infos. In case the GNU LibreJS Browser Extension complains about these scripts being non-free – please whitelist them manually and reload the page.